posted 21 years ago
Maya,
WAS 4.0.3 provides this capability. It will be one time change to your application server, I advise you to stop the node itself which owns the application server where your application is deployed.
1.Go to the properties directory (WebSphere/AppServer/properties), open logging.properties, go to the end of this file.
2. Turn com.ibm.ws.ras.SystemOutLogEnable and com.ibm.ws.ras.SystemErrLogEnable to true.
3. com.ibm.ws.ras.SystemOutLogRollover and com.ibm.ws.ras.SystemErrLogRollover relate to size of application server's stdout and stderr files in MB respectively. Provide the setting which suits you.
4. com.ibm.ws.ras.SystemOutLogBackups and com.ibm.ws.ras.SystemErrLogBackups relate to number of archive log files you would like to be available on the system. Once the active log file reaches the size setting provided in step-3, WebSphere archives the current log file and creates a new log file. You can delete the archive log files to free storage without any problem.
Arvind,<br />IBM Certified WAS admin (Test 489, Test 340, Test341)