Todo #8350: Remove clog in favor of standard syslogd or syslogd alternative with rotation via newsyslog or logrotate
Re-evaluate log size, line defaults, and limits
The current limits for log sizes, default lines to display, and maximum lines that can be shown are all from times when systems were much smaller/less powerful.
Log size may still be OK now that rotated copies don't count against it, but needs checked.
Default log lines to display should probably be higher, 250-500 or so.
Max lines to display is currently limited to 2000 but should be much higher.
Updated by Sean McBride over 1 year ago
I was going to file a similar ticket, but found this one searching for "511488"...
I'm not sure how typical my setup is, but at the default of 511488 bytes, my firewall log rotates every 3 minutes. I had made a firewall rule to catch which office PC has malware, but struggled to find results searching the logs, and finally found the reason was the tiny default log size.
~20 log files x 500 KiB each is still only 10 MiB total.
A 32 GiB microSD card costs something like $15 USD. Enough for 1000x the size of default logs.
Do most pfsense users really have so little storage? Considering the importance of the logs, I'd argue the default should be increased 10x or 100x.