Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

logger(1) OSS Shell and Utilities Ref
erence Manual
Priorities
The specic 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 signicant 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 specications:
logger -p user.7 my message
RELATED INFORMATION
Functions: openlog(3), syslog(3).
568 Hewlett-Packard Company 527188-007