Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • JS7 makes use of Log4j2 for logging purposes. Log rotation is required to prevent log files from filling up disk space.
  • The default configuration allows disk space consumption to be limited for each of Controller, Agent and JOC Cockpit.
  • The configuration for rotating log files is similar for all JS7 components.
  • Note that log output from orders and jobs in workflow is not stored with log files but is immediately added to the JS7 - Database and JS7 - History respectively.

Log4j2 Configuration

...

Default Locations

The Log4j2 configuration file log4j2.xml is available from the following default locations for each JS7 component:

...

Note:

  • Changes to the log4j2.xml file from the above locations will be lost if newer versions of JS7 components are installed.

Optional Locations

The Log4j2 configuration file log4j2.xml with preference is used from the following locations if the file is present:

...

For the location of Log4j2 configuration files see JS7 - Log Files and Locations

Note:

...

Log Rotation Strategy

By default log files are rotated on the following events:

...