Documentation Center

Logging Using the ws_gate URL

This type of logging does not require a WorldServer restart and is disabled on WorldServer restart. In a cluster you must activate logging on each machine in the cluster.

To enable logging using the ws_gate URL

To start WorldServer using the ws_gate URL, use the following command:

http://<host>:<port>/ws-legacy/ws_gate?action=log&category=<category>&level=debug&token=<valid session token>.

For example, to enable SQL logging on an installation called kleinj, http://kleinj:8080/ws-legacy/ws_gate?action=log&category=sql&level=debug&token=840852473204

Logging is enabled.

To disable logging and enable warning mode using the ws_gate URL

Change debug to warn in the URL string.