mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 03:11:18 +02:00
A small syslogd for logging to multiple files http://www.gnu.org/software/inetutils/ revised complete patch for inetutils-syslogd. post-install - just gives status / info message - configuration is now done by /sbin/setup-inetutils-syslogd. Both scripts now use the system colours $STRONG $RED $GREEN. post-deinstall - just adds back busybox syslog to boot runlevel & shows the status of syslog & cron (as cron will be stopped by removing any syslog)
39 lines
552 B
Plaintext
39 lines
552 B
Plaintext
/var/log/syslog
|
|
{
|
|
rotate 7
|
|
daily
|
|
missingok
|
|
notifempty
|
|
delaycompress
|
|
compress
|
|
postrotate
|
|
/etc/init.d/inetutils-syslogd reload &>/dev/null || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/mail.info
|
|
/var/log/mail.warn
|
|
/var/log/mail.err
|
|
/var/log/mail.log
|
|
/var/log/daemon.log
|
|
/var/log/kern.log
|
|
/var/log/auth.log
|
|
/var/log/user.log
|
|
/var/log/lpr.log
|
|
/var/log/cron.log
|
|
/var/log/debug
|
|
/var/log/messages
|
|
{
|
|
rotate 4
|
|
weekly
|
|
missingok
|
|
notifempty
|
|
compress
|
|
delaycompress
|
|
sharedscripts
|
|
postrotate
|
|
/etc/init.d/inetutils-syslogd reload &>/dev/null || true
|
|
endscript
|
|
}
|
|
|