Todo #9734

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

Added by Jim Pingle over 1 year ago. Updated about 1 year ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Release Notes:


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.

Associated revisions

Revision f9d9d054 (diff)
Added by Jim Pingle over 1 year ago

Log setting/size review. Fixes #9734

  • Move default GUI line limit and log size defaults to $g rather than
  • Set default GUI line limit to 500 (up from 50)
  • Set max GUI line limit to 200000 (up from 2000)
  • Set default log size to 512000 (500 KiB, previous clog default was 511488)
  • Set filter summary default to 10000 (up from 5000)
  • Standardized input type and placeholders for GUI line limit and log
    size between global and per-log settings.


#1 Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

These all seem to be OK for now. Can revisit if necessary.

#3 Updated by Sean McBride about 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.

Also available in: Atom PDF