Logging Using the general.properties File
Logging allows you to record in great detail the functions that occur when you use WorldServer. Logging can help track down the specific situation in which an issue arises.
To enable logging through the general.properties file
- Open the
general.propertiesfiles in a text editor. - Locate the property
log4j.category.com.idiominc.ws.<category>. - If necessary, uncomment the property by removing the leading
#. - Edit the category to log and add =debug to the end of the property string.
- Save and close the
general.propertiesfile. - Restart WorldServer.
Logging of the specified category is active.
To disable logging through the general.properties file
- Open the
general.propertiesfile in a text editor. - Locate the property
log4j.category.com.idiominc.ws.<category>=debug. - Add # to the beginning of the property string and remove
=debugfrom the end of the property string. - Save and close the
general.propertiesfile. - Restart WorldServer.
Logging is disabled.
To change logging to warning in the general.properties file
- Open the
general.propertiesfiles in a text editor. - Locate the property
log4j.category.com.idiominc.ws.<category>=debug. - Change
=debugto=warn. - Save and close the
general.propertiesfile. - Restart WorldServer.
Logging is disabled, and warning is enabled.