Files
bpfire/config/etc/syslog.conf
Vincent Li 967a0319b4 syslog: log kernel message to kern.log
note config/etc/* is copied through lfs/stage2
so changes made in config/etc/* requires to
rm stage2 build log to rebuild stage2.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2025-04-01 17:42:01 -07:00

27 lines
678 B
Plaintext

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
kern.* -/var/log/kern.log
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
# local0.* any dhcpcd log (even debug) in messages
cron.none;daemon.*;local0.*;local2.*;local5.*;*.info;mail.none;authpriv.* -/var/log/messages
# Log crons
#cron.* -/var/log/cron.log
# Everybody gets emergency messages
*.emerg *
# Display logs on tty12
*.* /dev/tty12
# Optionally log to a remote host
#*.* @hostname.domain
# Postfix logs
mail.* -/var/log/mail
# HAProxy
local1.* -/var/log/haproxy