Salesforce

SDL WorldServer: How do I control the maximum size of my WorldServer log files visible in my System Logs page?

« Go Back

Information

 
TitleSDL WorldServer: How do I control the maximum size of my WorldServer log files visible in my System Logs page?
URL Name000004135
SummaryThis article describes how to limit the log file size for WorldServer
Scope/EnvironmentWorldServer
Question
How do I control or change the maximum size of my WorldServer log files visible in my System Logs page?
Answer
This change should be done in the general.properties file. The relevant property is:

log4j.appender.logfile.MaxFileSize

For instance, 

log4j.appender.logfile.MaxFileSize=10000KB

means that the log file will have a maximum size of 10 MB

Once you make your change in general.properties, WorldServer should be restarted for the change to take effect.

If you work on a WorldServer 11 environment, remember to apply your change to the relevant folder(s) where the general.properties file is stored. See also:

Configuring .properties files starting from WorldServer 11
 
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by