powered by Jive Software

Stop openfire log rotation

Hello I am using openfire 3.6.4 and it has mechanism to rotate log files (info.log, debug.log etc) which is size based and time based but I have mechanism for log files rotation so i want to disable openfire’s log rotation mechanism, so can anybody suggest me how to stop the openfire’s log rotation?

Hello,

Check out the lib/log4j.xml configuration file within the openfire deployment. You may need to restart openfire after adjusting that file.

daryl

I did entry of

true

102400000

102400000

in the /opt/openfire/conf/openfire.xml

which rotates debug.log & info.log files when its size exceeds 100 GB & its working (the debug log size do not exceeds the given size in a day & our software framework rotates the files after 24 hrs so openfire’s log rotation is avoided.)

Previuosly I had done entry for “log.info.size” in ofproperty table of openfire database, but it did not worked.

As I am using openfire 3.6.4 log4j.xml is not available to configure, it is available in openfire 3.7.1