IBM Support

Setting WebSphere Logging Options

Question & Answer


Question

Maximo and other TPAE products commonly use WebSphere SystemOut logs to capture runtime events. Setting logs to roll once per day with a count of 7 or changing the size to 20MB with a count of 168 can be valuable in capturing 7 days.

Cause

Default Logging Limits Trend and Historical Analysis

Answer

To set WebSphere logs to roll once per day, follow the procedures below. Note that using the other options on these screens the file size can be used to control rolling as well.

NOTE: The JVM that these settings are applied to (WAS Application Server Instance) must be restarted for the settings below to take affect.

1) Log into the WebSphere Console

2) Select => "Servers" => "Application Servers" => {your server name}




3) Under the section "Server Infrastructure", expand the section "Java and Process Management"
4) Select => "Process Definition"



5) Under the section "Additional Properties" select "Logging and Tracing"



6) Under the section "General Properties" select "JVM Logs"



7) Under the Section "General Properties" complete the settings for the logs. You can select by time or by size or both. It is recommended to keep file sizes under 20MB for performance, transmission, and management. By setting file size to 20MB and count to 168 you can capture a weeks worth of logs as long as an hour of logs is less than 20MB.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.1.2;7.2;7.2.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWK4A","label":"Maximo Asset Management Essentials"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWT9A","label":"IBM Control Desk"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
19 August 2022

UID

swg21640659