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

Loading…
Cancel
Save