OPNsense Forum

English Forums => 24.1 Production Series => Topic started by: iffster1 on February 21, 2024, 09:37:46 am

Title: Logroation doesn't work as expected (24.1.1)
Post by: iffster1 on February 21, 2024, 09:37:46 am
Hello

OPNsense 24.1.1

Configuration
Preserve logs: 4
Max log filesize (MB) : 200

What I expected - 4 log files with max file size of 200MB per log (I'm talking about filter.log from /var/log/filter)
What I see - Max log filesize doesn't work, file still rotates once per day and file size iz >10GB

What am I doing wrong?

Regards
Title: Re: Logroation doesn't work as expected (24.1.1)
Post by: iffster1 on February 23, 2024, 12:56:30 pm
I found what was the issue.

Max log filesize (MB) - MB is actually GB.
I'll report the bug
Title: Re: Logroation doesn't work as expected (24.1.1)
Post by: huamiao on April 20, 2024, 08:07:01 am
Hi, your issue has been closed due to the invalid template. I just open a new issue https://github.com/opnsense/core/issues/7397 based on yours. Just want you know if you want to append more details.
Title: Re: Logroation doesn't work as expected (24.1.1)
Post by: franco on April 22, 2024, 10:58:49 am
https://github.com/opnsense/core/commit/73c3b88eb0

# opnsense-patch 73c3b88eb0


Cheers,
Franco