How to turn off log4j errors at Thor Xellerate server startup
2 years ago
Originally Published: 2005-02-02
Article Number
000060359
Applies To
Thor Xellerate 7.2.4
Issue
How to turn off log4j errors at Thor Xellerate server startup
The out-of-the-box installation of Thor Xellerate produces the following error messages when the xlserver, xlobject, and xlclient startup:

WARN Ignoring Property Logger.LogFile.MaxBackupIndex because it is not a valid property

WARN Ignoring Property Logger.LogFile.MaxFile.Size because it is not a valid property
Cause
These messages are present by default even if your Thor Xellerate config files are set to log only FATAL messages
Resolution
To stop these Logger errors, edit the configuration files (e.g. xellerate_server.cfg) replacing the current Logger configuration entries as follows:

#Logger.LogFile.MaxFileSize=10MB

log4j.appender.LogFile.MaxFileSize=10MB

#Logger.LogFile.MaxBackupIndex=5

log4j.appender.LogFile.MaxBackupIndex=5