OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: Quiksmage on June 02, 2022, 10:17:24 AM

Title: /var/log/filter/filter_date.log filling disk
Post by: Quiksmage on June 02, 2022, 10:17:24 AM
Hi, I noticed that my disk was full and upon further investigation, I found the folder /var/log/filter/filter_***(date)***.log was full of 4 GB files filling the entirety of my disk (80GB).

I've deleted the files, but I wanted to know what i might be able to do to get the logs to rotate or change the settings on how it's saving?

Thanks in advance for any help!
Title: Re: /var/log/filter/filter_date.log filling disk
Post by: franco on June 02, 2022, 10:22:37 AM
Logging settings for firewall are set via System: Settings: Logging and their respective rules with logging enabled under Firewall: Rules and Firewall: Port forward.

It's beneficial to inspect the live log for the cause of the excessive logging (which rule or logging setting) and disabling that.

Also note that stateless rule logging logs per packet while stateful rules logging only logs once per connection and perhaps once again on connection reset/state violation.


Cheers,
Franco