Hi,
I have below script in logrotate.d to rotate logs.
logs are not rotating after the file grow to 1k, do you have any idea? Is it because of it just only 1K?
Please let me know if the below syntax is in correct.
[root logrotate.d]# more trotate
/sourcepath/*/servers/*/logs/*log
/sourcepath/*/servers/*/logs/*out
{
daily
dateext
dateformat .%Y-%m-%d
copytruncate
rotate 7
size 1k
compress
missingok
notifempty
}