APM Connect uses log4j version 1.2 to log events and provides a default configuration for logging events. These steps describe how to modify this default configuration.
Steps
Modify the log4j.rootLogger statement to select the correct severity level and appender. Consider the following example of a modified statement:
...where the first value is the severity level and the second value is the appender to use. You can enter any of the following values as the severity level:
The severity level that you configure controls the messages written to the log. Each severity causes the system to filter messages above that type in the preceding list.
Note: The appender value must be either fileout or consoleout.
IMPORTANT: To collect the most complete information, do not change the conversion pattern on any appender you use.
If you use the console appender, uncomment all statements containing consoleout and comment the statements containing fileout. Consider the following example:
Note: When configuring logging for SAP or SAP PI, you must specify the actual path to the log file as the value of log4j.appender.fileout.file.
If you use the file rolling appender:
Save the file.
Event logging has been configured.
Copyright © 2018 General Electric Company. All rights reserved.