Skip to content
Trac2Gollum edited this page Jun 20, 2013 · 3 revisions

CSS Message Log

CSS Tools can send messages to a JavaMessageServer, from which other CSS tools can then log them to a central relational database (RDB) log, and the or other reporting tools can then analyze them.

Messages include:

  • Errors, warnings, info or debug messages from applications
  • Communication between components of the alarm system
  • 'Write' log from a plugin for EDM

Basic Message Format

CSS uses JMS the MapMessage type with these mandatory elements:

  • TYPE=log, alarm, talk, write, ...

Log Messages

  • TYPE=log
  • TEXT: Any text, usually the result of Log4j message format
  • SEVERITY=DEBUG, INFO, WARN, ERROR, FATAL: Log4j log level
  • CREATETIME, format “yyyy-MM-dd HH:mm:ss.SSS”: Time message created
  • EVENTTIME, format “yyyy-MM-dd HH:mm:ss.SSS”: Time of original event
  • CLASS: Name of (Java) class were message was created
  • NAME: Name of Java method
  • FILENAME: Source file
  • APPLICATION_ID: Application (CSS, AlarmServer, ..)
  • HOST: Host name running the application
  • USER: User name

More Details

See https://ics-web.sns.ornl.gov/css/docs/MessageLog.doc

Clone this wiki locally