[rsyslog] Max Log Size

Michael Meckelein mmeckelein at hq.adiscon.com
Fri Jan 18 15:43:56 CET 2008


> Seth Vidal asks a good question:
> 
> http://skvidal.wordpress.com/2008/01/16/fixed-size-log-outputs/
> 
> Basically he wants to know if you can have syslog output a fixed log 
> size, and the roll to another name? So say I only wanted 1 meg log 
> files, and then after I reach 1 meg change the name too foobar.log.1 
> or something.
> 
> I swear I thought this was possible with rsyslog, but I can't find 
> anything in the docs. Is it possible? Was I hallucinating when I 
> remembered this feature?

Based on the discussion I have created a small article

Log rotation based on a fixed log size
http://www.rsyslog.com/module-Static_Docs-view-f-log_rotation_fix_size.h
tml.phtml

Best regards,
Michael


More information about the rsyslog mailing list