Wire listener logging

The wire listener can output trace, debug, informational messages, warnings, and error information to a log.

The default logging mechanism for the wire listener is Logback. Logback is pre-configured and installed along with the JSON components. For more information on how to customize Logback, see http://logback.qos.ch/.

If you start the MongoDB API wire listener from the command line, you can specify the amount of detail, name, and location of your log file by using the -loglevel and -logfile command-line arguments.

Important: If you have customized the Logback configuration or specified another logging framework, the settings for -loglevel and -logfile are ignored.
If the MongoDB API wire listener is started automatically after you create a server instance or if you run the SQL administration API task() or admin() function with the start json listener argument, errors are sent to a log file:
  • UNIX: The log file is in $INFORMIXDIR/jsonListener.log.
  • Windows: The log file is named servername_jsonListener.log and is in your home directory. For example, C:\Users\ifxjson\ol_informix1210_1_jsonListener.log.

Copyright© 2018 HCL Technologies Limited