How limit pflog size
reza.mnp last edited by
how i can limit pflog size in /var/log path or rotate this file (clean this file)
vmz last edited by
for clean and rotate, try to create a script like this and add it in cron
cp /var/log/pflog /var/log/pflog-$DATE
That file isn't normally there, some change must have been made or package installed that changed the default behavior.
Normally the pf log is written to /var/log/filter.log which is a binary circular log that can never grow in size.