[cups.general] Can "MaxLogSize"be smaller?
Michael R Sweet
msweet at apple.com
Mon Aug 11 18:34:10 PDT 2008
wei wrote:
> Is it possible to set the file size for MaxLogSize in cupsd.conf to a smaller number? The default size is 1 mb. Since we don't print that much every month, it would be silly to wait months before the log file is generated... I know I can change the number but don't know if this is allowed within the CUPS specifications...
Yes, of course. The only special behavior is for numbers <= 0,
which effectively disables log rotation.
> It'd be nice if there is an option to rotate logs based on how long (days, week, month) instead of by size...
If you are using Linux, "man logrotated".
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list