The log4j.properties File
The log4j.properties file is used to configure initial logging for the Rules Engine and for the Genesys Rules Authoring Tool. Once the Rules Engine and GRAT are initialized, logging is done through the configured Application options. The log4j.properties file contains logging attributes that are used during the startup of the application, before the configured log settings are read by Configuration Server. In general, you should not have to modify this file and you can accept the default values. But should you need to change the defaults, perform the steps in the following procedure:
- Locate the log4j.properties file. This file can be found in the .war file, which is located in the installation directory.
- Extract the .war file by using WinZip or a similar tool for extraction. (For the Rules Engine and the Rules Authoring Tool, the .war files are named genesys-rules-engine.war and genesys-rules-authoring.war, respectively).
- Open the file in a text editor, and update any logging parameters.
- Save the file.
- Add the modified log4j.properties file back into the original .war file by using WinZip (or a similar tool). Be very careful to preserve the “path” of that file during this step.