You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
506 B
Plaintext

# logger
# Interact with syslog server
# log "hi there" to syslog with priority 'notice' and facility 'user'
echo "hi there" | logger
# send <file> to syslog with <facility> and <priority>
logger -p <facility>.<level> -f <file>
# Levels (priorities):
# emerg alert crit err warning notice info debug
#
# Facilities:
# auth
# authpriv (for security information of a sensitive nature)
# cron daemon ftp lpr mail news syslog user uucp
# local0 to local7 (local7 is used for boot messages)