/var/log/system.log and others fixed 510KB and wrapping around?

Pierce

Explorer
Joined
Sep 4, 2013
Messages
64
very odd, on my freenas thats been running for ages, my /var/log/*.log files are mostly all 511488 bytes long, and each one seems to wrap around, like entries from some date up to right now, then entries from 6 months ago to the end... kinda makes it hard to `tail -f` or whatever

is this because of some old setting ? This system started as a 9.3 or something, and originally USB stick boot, but has been upgraded over and over and awhile ago I switched to a SATA SSD as the boot device.
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Those files to get rotated / garbage collected to avoid filling up your boot device over time. Usually a tail -f works though, on the main files, I.E. /var/log/messages, or /var/log/auth.log, etc.
 
Top