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.properties files 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.properties file.
-
Restart WorldServer.
Logging of the specified category is active.
To disable logging through the general.properties
file
-
Open the
general.properties file in a text editor.
-
Locate the property
log4j.category.com.idiominc.ws.<category>=debug.
-
Add
# to the beginning of the property string and remove
=debug from the end of the
property string.
-
Save and close the
general.properties file.
-
To change logging to warning in the general.properties
file
-
Open the
general.properties files in a text editor.
-
Locate the property
log4j.category.com.idiominc.ws.<category>=debug.
-
-
Save and close the
general.properties file.
-
Restart WorldServer.
Logging is disabled, and warning is enabled.