Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

User Commands (k - l) logger(1)
Priorities
The specific priority names that can be entered as the priority portion of the priority argument to
the -p ag appear in the following list. The corresponding numeric values appear in parentheses.
emerg The system is unusable (0).
alert Action must be taken immediately (1).
crit Critical conditions (2).
err Error conditions (3).
warning Warning conditions (4).
notice Normal but significant condition (5).
info Informational (6).
debug Debug-level messages (7).
EXAMPLES
1. To specify the debug priority with a priority name, enter:
logger -p debug my message
2. To specify the debug priority with a priority number, enter:
logger -p 7 my message
3. To specify both the user facility and the debug priority, enter:
logger -p user.debug my message
4. To specify the same facility/priority pair using numeric values, enter:
logger -p 8.7 my message
5. You can also combine alphabetic and numeric specifications:
logger -p user.7 my message
RELATED INFORMATION
Functions: openlog(3), syslog(3).
527188-021 Hewlett-Packard Company 569