How To
Summary
The way to enable debug logging in PWS 10.1 is slightly different than steps in PWS 9.1.
Steps
1. Edit this file: ${PWS_Instance_Folder}/webapps/platform/WEB-INF/classes/log4j2.xml, edit this file and in the following section:
like:
3. Restart PWS to take effective.
<Properties>
<!-- You can change the log level. Possible values: fatal, error, warn,info, debug -->
<Property name="customLevel">info</Property>
<!-- You can change it for debug purpose -->
<Property name="customPackage">com.platform</Property>
<!-- DO NOT MODIFIY IT -->
<Property name="logPattern">[%d{yyyy-MM-dd HH:mm:ss.SSS z} %p %l] %m%n </Property>
</Properties>
2. Change the word "info" in line <Property name="customLevel">info</Property> to "debug""like:
<Property name="customLevel">debug</Property>
3. Restart PWS to take effective.
Document Location
Worldwide
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZT2D","label":"IBM Spectrum LSF RTM"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
01 November 2019
UID
ibm11100235