[opencms-dev] how-to configure a rotation log for opencms 5.0.1

Jonathan Woods jonathan.woods at scintillance.com
Sat Jun 3 09:22:29 CEST 2006


Sorry - I didn't notice the post was about 5.0.1 - you're probably right.
Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Steinert
Sent: 03 June 2006 07:44
To: The OpenCms mailing list
Subject: Re: [opencms-dev] how-to configure a rotation log for opencms 5.0.1

Jonathan Woods schrieb:
> Yes, the logging config file should be able to do what you need.  It's 
> actually at <opencms web app>/WEB-INF/config/log4j.properties, and the 
> lines you are interested in are near the end:
>
>
> # Limit log size to 5mb, then rotate
> log4j.appender.OC.MaxFileSize=2mb
>
> # Keep 5 backup files
> log4j.appender.OC.MaxBackupIndex=5
>
> Change these, restart OpenCms and you should be OK.
>
> Jon
>   
Hi Jonathan,

does Opencms 5 already use Log4J? I thought that came in only with opencms
6?
But I might be mistaken...

c.

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list