Is there a way to break down application logs into smaller units in Websphere Application server for CLM apps ?
anup Gaur (139●21●44)
| asked Oct 13 '15, 10:32 a.m.
edited Oct 13 '15, 12:08 p.m. by Patrick Remington (201●3)
We are setting up a CLM 5.0.2 server with WAS 8.5. The application logs like jts.log, ccm.log etc can grow to large sizes depending on errors etc. Also these files keep getting appended with messages. Is there a way to reset the logs based on date or size. Like if the file size grows bigger than 5 mb (example) it should start with a new file with name like ccm_2.log etc. This is implemented in WAS already for stdout errors. We don't want to use stopping of the server to reset / clean / delete the log files.
Any input is appreciated.
Thank you.
|
Accepted answer
Hello,
Maybe this can help you, specially the "Appenders" section, where the MaxFileSize and MaxBackupIndex properties are described. https://jazz.net/wiki/bin/view/Deployment/ManipulatingCLMLog4j Each product has its own log4j.property file, located in server/conf/<product> (e.g. server/conf/jts) anup Gaur selected this answer as the correct answer
|
Comments
It might also be helpful to check out the help topic at http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.jazz.repository.web.admin.doc/topics/t_customizing_log_file.html. It describes how to manage the size of the log files.
Thanks a lot Patrick!!