Salesforce

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

« Go Back

Information

 
TitleWorldServer: 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=10MB

If you want to increase the number of log files before they roll over, you can add a value to this property, for instance:

appender.rolling.strategy.max=10

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