Configuring and Enabling Relay Server Logging

By default, the relay server is configured to log only errors, which is sufficient in a production environment. Increase the log level if you require more detail to troubleshoot the relay server.

Errors appear regardless of the log level specified, and warnings appear only if the log level is greater than 0.

  1. Open rs.config.
    The location of this file varies depending on the type of Web server used to host relay server.
  2. Locate the [options] section.
  3. Set these properties:
    • start=no
    • verbosity=0

      Edit the value to 1, 2, 3, or 4. The higher the number, the higher the degree of log event verbosity. For troubleshooting and maintenance, levels 1 or 2 should be sufficient.

  4. Ensure the relay service is running, then run:
    rshost -f rs.config -u -q -qc
  5. Check the relay server desktop tray icon to ensure there are no errors.
    • If there are no errors, close the command window.
    • If there are errors, check the rs.config file for errors and try again.
  6. Validate the setup by opening the log file and confirming that the log entries reflect the log level you configure.