-
Notifications
You must be signed in to change notification settings - Fork 96
MessageLog
kasemir edited this page Mar 4, 2010
·
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 MessageLogViewer 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