Skip to end of metadata
Go to start of metadata

The servlets in this API allow you to log messages to the server using Logger from the log4j library. You can log at the following levels: error, warn, info, debug, trace. Each level has its own separate servlet.

The paths to the servlets according to the logging level are as follows:

  • api/logger/error
  • api/logger/warn
  • api/logger/info
  • api/logger/debug
  • api/logger/trace

All servlets have the same configuration:

Method: POST

Request Content-Typeapplication/json

Query Content:

 JSON object containing the logging parameters. The definition should contain the following fields:

    • message - The message to be logged in
    • location - The location of the site for which this message is. This can be a specific area of the application or simply the address of the page.

Answer: None

 

  • No labels