BasicLogging - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 13:30:50 created: 2025-05-08 13:30:40 categories:

  • WebSphere / Server Build / Common Configuration / Logging/Tracing

Basic Logging

Under "Troubleshooting", select "Logging and tracing"

Select "Diagnostic Trace"

 - Trace Output:

  - Select "File"

   - Maximum file size: 50

   - Maximum number of historical files: 10

   - File name: ${SERVER_LOG_ROOT}/trace.log

   - Select "Change log level details"

    - Check "Disable logging and tracing of potentially sensitive data"

    - Uncheck "Enable log and trace correlation"

    - Click "OK"

   - Click "OK"

Select "JVM Logs"

 - System.out:

  - File name: ${SERVER_LOG_ROOT}/SystemOut.log

  - Check "File size"

   - Maximum size: 50

  - Check "Time"

   - Start time: 24

   - Repeat time: 24

  - Maximum number of historical files: 10

  - Check "Show application print statements"

  - Check "Format print statements"

 - System.err:

  - File name: ${SERVER_LOG_ROOT}/SystemErr.log

  - Check "File size"

   - Maximum size: 50

  - Check "Time"

   - Start time: 24

   - Repeat time: 24

  - Maximum number of historical files: 10

  - Check "Show application print statements"

  - Check "Format print statements"

 - Click "OK"

Select "IBM Service Logs"

 - Check "Enable service log"

 - File name: ${LOG_ROOT}/activity.log

 - Maximum file size: 50

 - Check "Enable Correlation ID"

 - Click "OK"

Save changes

⚠️ **GitHub.com Fallback** ⚠️