If you look at /opt/etc/logrotate.conf, it should indicate that the log files will be rotated weekly.
If you want to do something else, you need a file--call it anything-- in /opt/etc/logrotate.d that might look like this:
This instructs logrotate to rotate that log daily, as long as it is at least 1meg, and to keep 9 days of logs.
If you want to do something else, you need a file--call it anything-- in /opt/etc/logrotate.d that might look like this:
Code:
/opt/var/log/openvpn.log {
minsize 1024k
daily
rotate 9
postrotate
/usr/bin/killall -HUP syslog-ng
endscript
}