LSF now uses Log4j version 2.x
With this CU, LSF has upgraded to version 2.x of Log4j. Previously LSF was on version 1.x.
The following jar files are delivered in LSF CU9 to support Log4j version 2.x:
- log4j-core-2.17.1.jar
- log4j-api-2.17.1.jar
- log4j-jcl-2.17.1.jar
- commons-logging-1.2.jar
A new logging configuration format is also delivered to support Log4j version 2.x. The new
standard ios_logging.xml has these default values:
- Default value for maximum backup file size has been increased from 2MB to 10MB.
- Maximum number of file backups has been increased from 5 to 10,
During the update installation, the installation program checks the existing LAWDIR/system/ios_logging.*. If the log file is from Version 1.x, it is backed up and replaced by the new standard ios_logging.xml. User customizations applied to the previous log file must be re-applied to the new file.
For clustered environments, the correct RollingFileAppender must be used:
- Non-compressing logging:
<RollingFile name="IOS" fileName="${log-path}/ios${serverName}.log" filePattern="${log-path}/ios${serverName}.log.%i>
- Compressing logging:
<RollingFile name="IOS" fileName="${log-path}/ios${serverName}.log" filePattern="${log-path}/ios${serverName}.log.%i.zip">