Documentation Center

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

  1. Open the general.properties files in a text editor.
  2. Locate the property log4j.category.com.idiominc.ws.<category>.
  3. If necessary, uncomment the property by removing the leading #.
  4. Edit the category to log and add =debug to the end of the property string.
  5. Save and close the general.properties file.
  6. Restart WorldServer.

    Logging of the specified category is active.

To disable logging through the general.properties file

  1. Open the general.properties file in a text editor.
  2. Locate the property log4j.category.com.idiominc.ws.<category>=debug.
  3. Add # to the beginning of the property string and remove =debug from the end of the property string.
  4. Save and close the general.properties file.
  5. Restart WorldServer.

    Logging is disabled.

To change logging to warning in the general.properties file

  1. Open the general.properties files in a text editor.
  2. Locate the property log4j.category.com.idiominc.ws.<category>=debug.
  3. Change =debug to =warn.
  4. Save and close the general.properties file.
  5. Restart WorldServer.

    Logging is disabled, and warning is enabled.