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.

32 lines
697 B
Plaintext

5 years ago
# logger
# Interact with syslog server
# log "hi there" to syslog with priority 'notice' and facility 'user'
echo "hi there" | logger
# Levels: 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
5 years ago
logger -p <facility>.<level> -f <file>