Hello I have an issue in the virtual router where conntrackd(conntrack-tools) is populating /var/log/daemon.log a lot and because of that VR is running out of disk space. Do you guys know how to prevent conntrackd from logging too much? I manually changed the logrotate.conf to rotate every hour and retain only few copies but thats a quick fix. Is there any better fix to avoid this issue? In our setup the VR has 2GB disk and even that got filled up pretty quickly.
The logrotate config for daemon.log is present in /etc/logrotate.d/rsyslog and I added /var/log/daemon.log { hourly rotate 1 missingok notifempty compress copytruncate } The config present in /etc/logrotate.d/conntrackd is pointing to /var/log/conntrackd-stats.log and so changing that config wont help. -- Thanks and regards Rakesh