[Zope] Z2.log
Tom Von Lahndorff
tom at modscape.com
Wed Jan 30 12:32:45 EST 2008
On Jan 30, 2008, at 12:28 PM, Jens Vagelpohl wrote:
>
> On Jan 30, 2008, at 18:17 , Tom Von Lahndorff wrote:
>
>> Can <instance>/log/Z2.log be deleted? On restart is fresh file
>> created?
>
> Yup.
>
>
>> Also, is max-bytes supported for logfiles in zope.conf?
>
> What's that?
Saw it referenced here:
http://blogs.sistes.net/Garito/568
<logger access>
level WARN
#<logfile>
# path $INSTANCE/log/Z2.log
# format %(message)s
#</logfile>
<rotatelogfile>
path $INSTANCE/log/Z2.log
format %(message)s
max-bytes 5MB
compression zip
backup-count 0
</rotatelogfile>
</logger>
>
>
> jens
>
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list