Modifying log file settings using Admin Console

This topic outlines how to modify the rootLogger setting in the log4j configuration for your clock.

Note: In general, the rootLogger setting should only be modified with the recommendation of Infor Support. If you increase the logging detail for all packages in the clock, this can result in too much logging information in the log files. In most cases, it is usually advantageous to modify the log file settings for a specific package. See Updating your log4j logging configuration for more information on how to do this.

The rootLogger exists at the top of the logging configuration for log4j and exists outside of the scope of any custom logger that exists in the clock. All of the other application-specific Logger objects are child objects to the rootLogger. If the child logger has no explicit logging level set, it will inherit the setting of the rootLogger.

To modify log file settings for the rootLogger:

  1. Select the following Admin Console menu path:
    Server Actions > Edit Log File Settings

    The Edit log file settings pop-up is displayed.

  2. Modify the value of log4.rootLogger to one of the following values. The values are listed in order of increasing detail for your log file:
    • fatal: Logs all errors that force a thread or WBCS to restart.
    • error: Logs all stack traces.
    • warn: Logs all the known and handled errors that occurred in the system. This is the default value is recommended for production environments.

    • info: Logs status tasks performed by the system, such as polling messages received from the clocks or status messages regarding database refreshes.

    • debug: Tracks every action done by the WBCS. This value is used for diagnosis of issues. However this value should not be used on a regular basis as the value affects the performance of the WBCS and generates a large log file.

The WBCS uses the log4j logging framework that allows for more detailed customization of logging information. Refer to http://logging.apache.org/log4j for more information.

For information on how to modify the logging configuration directly, see Updating your log4j logging configuration.