| Author |
How to change the JVM Log settings in WebSphere
|
Aravind Ram
Greenhorn
Joined: Mar 06, 2008
Posts: 22
|
|
Hi Ranchers The websphere server 6.0 am using is creating the System.out log files for the past two-weeks. Can somebody tell me how to change the setting so that only current day log file is created in the websphere. Thanks ! Aravind Ram ..
|
 |
Jayadev Pulaparty
Ranch Hand
Joined: Mar 25, 2002
Posts: 645
|
|
There are settings available to roll the logs, no. of logs to retain, their size, etc. We've done it for WAS5.1 by mentioning these parameters in log.properties in the appserver config on the AIX filesystem. Something like below - log4j.appender.dest1=org.apache.log4j.RollingFileAppender log4j.appender.dest1.File=app.log log4j.appender.dest1.MaxFileSize=10000KB log4j.appender.dest1.MaxBackupIndex=1 log4j.appender.dest1.layout=org.apache.log4j.PatternLayout The above approach is not date-based though. [ May 22, 2008: Message edited by: Jayadev Pulaparty ]
|
 |
 |
|
|
subject: How to change the JVM Log settings in WebSphere
|
|
|