-
Notifications
You must be signed in to change notification settings - Fork 96
MessageLog
Trac2Gollum edited this page Jun 20, 2013
·
3 revisions
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
CSS uses JMS the MapMessage type with these mandatory elements:
- TYPE=log, alarm, talk, write, ...
- 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