Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there a way to break down application logs into smaller units in Websphere Application server for CLM apps ?

 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.

0 votes

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!!


Accepted answer

Permanent link
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

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,381

Question asked: Oct 13 '15, 10:32 a.m.

Question was seen: 1,807 times

Last updated: Oct 14 '15, 2:18 a.m.

Confirmation Cancel Confirm