Logging appender definitions

Periodically, PolicyCenter creates a new, blank, log file and begins writing the current logging information to that file. It retains the log file from the previous time period as a backup, renaming the file to make the file name distinctive. This mechanism is known as file rollover.

In the base configuration, file log4j2 contains a number of <RollingFile> appender elements that define different log files. For example, file log4j2 configures one log to record rule activity and a different log to record all API calls. However, in the base configuration, Guidewire comments out most of the RollingFile appenders. To make a log appender active, you must remove the comment marks that surround the appender.

Each <RollingFile> appender element contains the following information:

  • The location to which to write the log
  • The pattern to use to create the log file name
  • The pattern to use to create the backup log file name
  • The pattern to use to create formatted content in the log file
  • The time interval at which to roll over the current contents of the log file to a backup log file

See also