Documentation Center

Logging Using the ws_gate URL

This type of logging does not require you to restart WorldServer and is disabled on WorldServer restart. In a cluster environment, you must activate ws_gate logging for 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>

Starting with WorldServer 10.4.5, you have to add "com.idiominc.ws." or "com.idiominc.wssdk." to the category in the URL. Thus, you can enable logging for more classes. For example:
  • http://<host>:<port>/ws-legacy/ws_gate?action=log&category=com.idiominc.ws.sql&level=debug&token=<token>
  • http://<host>:<port>/ws/ws_gate?&token=<token>&action=log&category=com.idiominc.wssdk&level=debug

To disable logging and enable warning mode using the ws_gate URL

Change debug to warn in the URL string.