logger: cleanup (#105)

pull/108/head
Igor Chubin 4 years ago committed by GitHub
parent e7d7c37a9c
commit 70dff49010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,28 +4,15 @@
# log "hi there" to syslog with priority 'notice' and facility 'user'
echo "hi there" | logger
# Levels: emerg
# alert
# crit
# err
# warning
# notice
# info
# debug
# 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
logger -p <facility>.<level> -f <file>
# 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)

Loading…
Cancel
Save