Change the default log level of your reporting log files

Change the default log level of your log files if they do not cover enough detail, or cover too much, to suit your needs.

  1. Edit EGO_TOP/perf/conf/log4j.properties.
  2. Navigate to the section representing the service you want to change, or to the default loader configuration if you want to change the log level of the data loaders, and look for the *.logger.* variable.

    For example, to change the log level of the data purger log files, navigate to the following section, which is set to the default INFO level:

    # Data purger ("purger") configuration log4j.logger.domain.perf.purger=INFO, domain.perf.purger
  3. Change the *.logger.* variable to the new logging level.

    In decreasing level of detail, the valid values are ALL (for all messages), DEBUG, INFO, WARN, ERROR, FATAL, and OFF (for no messages). The services or data loaders only log messages of the same or lower level of detail as specified by the *.logger.* variable. Therefore, if you change the log level to ERROR, the service or data loaders will only log ERROR and FATAL messages.

    For example, to change the data purger log files to the ERROR log level:
    # Data purger ("purger") configuration log4j.logger.domain.perf.purger=ERROR, domain.perf.purger
  4. Restart the service that you changed (or the plc service if you changed the data loader log level).