It's logrotate which takes care of rotating logs. logrotate -f forces the log rotation even if logrotate think it is not needed. After that you can tell syslog-ng to reopen its logfiles with killall -HUP syslog-ng (or, quite likely, your logrotate will do that for you in its post-rotate hooks).
It's
logrotate
which takes care of rotating logs.logrotate -f
forces the log rotation even if logrotate think it is not needed. After that you can tell syslog-ng to reopen its logfiles withkillall -HUP syslog-ng
(or, quite likely, your logrotate will do that for you in its post-rotate hooks).