How to change lsync log level or completely disable it?
Solution 1:
I'm not that familiar with lsyncd, but judging from the man file -log scarce
should be added to the start-up script /etc/init.d/lsyncd
daemon $lsyncd -log scarce -pidfile $pidfile $config
I would also recommend adding /var/log/lsyncd/lsyncd.log
to logrotate.
Create /etc/logrotate.d/lsyncd
with following:
/var/log/lsyncd/*log {
missingok
notifempty
sharedscripts
postrotate
/sbin/service lsyncd restart > /dev/null 2>/dev/null || true
endscript
}