Logging property definitions

Each Property element in file log4j2 defines a specific global variable that PolicyCenter uses in generating the application logs. The Property element uses the following syntax to define a property.

<Configuration>
  <Properties>
    <Property name="propertyName">propertyValue</Property>
</Properties>
...
</Configuration>

In the base configuration, PolicyCenter defines the following logging-related properties.

guidewire.logDirectory

Defines the default directory to which PolicyCenter writes all logging files.

file.defaultPattern

Defines the default formatting to use in building the names of the log file that PolicyCenter generates on a daily basis.

To use a property, insert the property name as a variable. For example, to use the default directory path as a variable, use the following syntax.
  • ${guidewire.logDirectory}

See also