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

Christian Steinert christian_steinert at web.de
Sat Jun 3 08:44:03 CEST 2006


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.



More information about the opencms-dev mailing list