source: Evidence/readme.txt@ 7442

Last change on this file since 7442 was 262, checked in by ogrimm, 14 years ago
Removed signaling to invoke ConfigChanged(), now it is run as separate thread. New command '/ResetMessage'
File size: 3.2 KB
Line 
1
2This directory contains the backbone of the control system. See directory Doc for documentation.
3
4
5Version history
6---------------
7
819/5/2010 Service histories now available via DimRpc from DColl, not via .hist service
9 When regular expression compiling results in error, State is set to ERROR, not
10 FATAL. The erroneous expression is ignored in the following.
1125/5/2010 Service history remains available if service itself become unavailable. If not
12 yet in memory, reading from file is tried. Improved error handling of
13 history files.
1428/5/2010 Changed name of 'State' service to 'Message' to better reflect its functionality.
15 Added client information to log file entries.
1630/5/2010 Created Bridge server that repeats services from one DNS to another.
17 Service quality now also written to slow data file.
1831/5/2010 Configuration file format follows semi-standard INI format.
197/6/2010 Separated History service from DColl. History format changed, now includes
20 service format (allows history access also when service is unavailable).
2111/6/2010 Bridge does not forward history service
2217/6/2010 Added SendToLog() method. Changed severity encoding of Message service to
23 use standard DIM structure of format "I:1;C"
2418/6/2010 Alarm server configuration accepts now one email address per server. A new
25 service for each observed server SERVERNAME/AlarmLevel contains the highest
26 level that occurred in the past. Reset of alarm level only via a DIM command.
2719/6/2010 ToString() now returns std::string
2823/6/2010 GetConfig() returns std::string. Non-blocking configuration request in case
29 GetConfig() not called from main thread. Access to configuration information
30 internally mutex protected.
3124/6/2010 Workaround for erroneous /SERVICE_LIST updates. Added static tokenize method to
32 Evidence class.
3330/6/2010 Made Lock()/Unlock() publicly available (mutex of type PTHREAD_MUTEX_ERRORCHECK),
34 in case signal is set with ActivateSignal() this signal will be blocked while locked.
35 Implemented experimental automatic full configuration tracking for Bridge.
367/7/2010 All commandHandler() and rpcHandler() safely translates data into string
37 using ToString(). EvidenceServer class constructor now takes std::string as argument.
38 Removed default configuration file from Config.
3919/7/2010 Added documentation. Replaced std::vector by std::map at several locations. Access to
40 class-wide pointer in Message() protected by mutex (currently the memory of the
41 second-last message will not be freed correctly if severity is FATAL). Added
42 History server configuration parameters to adjust buffer size.
4320/7/2010 SendToLog() does not call Message() in case of error, but writes error message to log.
4421/7/2010 Lock()/Unlock() do not report errors via Message(), but print to console and use
45 SendToLog(). That avoids a recursion problem since Message() also uses locking.
4626/7/2010 General command '/ResetMessage' will reset message text and severity. This feature is
47 used by Alarm if it receives a command to reset an alarm level.
48 ConfigChanged() is called as separate thread when configuration file changes. Thread ID
49 is checked in GetConfig() and also from this thread it will make blocking requests.
Note: See TracBrowser for help on using the repository browser.