Logging property files

Guidewire supports the substitution of the entire logging configuration file log4j2.xml by using a system property to specify the full path to an alternate log4j2.xml file. To make this change, add the following system property to the server start command:
  • gw.config.external.logging.file

Example of logging property file replacement

The following example replaces the log4j2.xml file packaged with the installation WAR/EAR file with a logging file that exists on a local machine:
  • gwb startServer -Dgw.config.external.logging.file="C:\tmp\loggingfile\MyLoggingFile.xml"