I have fixed size limit in logrotation 1M. The script run on every hours even though its rotating less than 1Mb files. I dont know what i have done wrong. Below is my configuration parameters.
/opt/PostgreSQL/8.4/data/pg_log/postgresql-*
{
rotate 25
size=1M
notifempty
missingok
olddir /opt/PostgreSQL/8.4/data/pg_log/test
copytruncate
}
Please can anyone help me out in this problem?
Lot of Thanks in advance.