There are two vps: one is digitalocean, the other is bangwagong host.
All the operating systems on them are Debian7.
I want to split cron logfile up from syslog with the following steps.
step1: vim /etc/rsyslog.conf uncomment the line # cron.* -/var/log/cron.log into cron.* -/var/log/cron.log step2: shutdown -r now step3: /etc/init.d/cron restart
Now in the digitalocean vps, there is a cron.log in /var/log. But in the bangwagong vps, there is no cron.log in /var/log. Who can explain it?
The steps are tested on my local machine; the cron.log was split up successfully.