Skip to content
sheldonabrown edited this page Dec 3, 2012 · 6 revisions

The logging service logs user actions / system events in the application. It is a general purpose service intended to be used by all the web applications in the system.

Call

/api/log With a json body like:

 {"message":"message content", "priority":"(priority)", "component":"(component)"}

where component is one of:

  • TDM
  • APP
  • IE
  • ADMIN
  • ARCHIVE
and priority is an integer which corresponds to log4j priority values. Following is the mapping of integer values for log4j priorities
  • FATAL = 50000
  • ERROR = 40000
  • WARN = 30000
  • INFO = 20000
  • DEBUG = 10000
  • TRACE = 5000

Options

N/A

Response

N/A

Clone this wiki locally