There is a option to disable legacy circular logging: Local (non circular) logs And code change: Syslog: optionally disable legacy (clog) logging
DO NOT INCRESE CIRCULAR LOG SIZES! SYSLOG CLOG support is implemented using mmap-ed files. So with log file size 100MB it makes HDD 100% busy and make system not responsive.
syslogd
is used as local system logger/usr/local/sbin/syslogd -s -c -c -P /var/run/syslog.pid -p /var/run/legacy_log -S /var/run/legacy_logpriv -k -s -s -f /var/etc/syslog.conf
-s
secure mode - do not log from remote machines-c -c
disable compression of repeated lines for all instances-S
additional socket for privileged applications-k
do not translate kern
to user
-s -s
no network - no remote loggingsyslog-ng
is spawned to forward logs to remote hostsCircular log files:
syslog.conf
contain special %
marker to signal that log file is a circular log fileclog
.# tail z dnsmasq.log file clog -f /var/log/dnsmasq.log