edit this :
/etc/syslog-ng/syslog-ng.conf
add the following lines :
filter f_cron { facility (cron); };
destination cron { file("/var/log/cron.log"); };
log { source(src); filter(f_cron); destination(cron); };
reload syslog-ng :
/etc/init.d/syslog-ng reload
you may need to setting the logrotate. Please see the example in /etc/logrotate.d/ for example
ไม่มีความคิดเห็น:
แสดงความคิดเห็น