Event logging in the system
The "Log database" dialog box in the process D2000 CNF process allows to set setting the log database parameters. The dialog box contains a table comprising the following columns:
- Event - category of system events,
- Log - [Yes/No] - enable enables/ disable disables logging of particular event category into the log database,
- History depth [days] - [0-3650] - writing period of event into the log database (in days),. Configuration of history depth in D2000 version V21.1 R73 is moved into corresponding objects of type Data purpose.
Note: The deletion time of the logged event is determined at the time of its creation based on the configuration of the corresponding Data purpose object. Change of Data purpose object configuration does not affect existing logged events (every log contains the deletion time). - Use device - [Yes/No] - enable enables/ disable disables event logging to the output device,
- Device - the name of an output device. Output The output device is the type of device, where logged data will be written. There are these types of output devices:
- PRN, LPT1, LPT2 - output to a specified printer,
FileName.Ext
- saving to a text file of a given name. From Starting with the V21.1 version, it is possible to use Windows environment variables. Usage example: "% userprofile%\Monitoring\logon.txt". When writing to a file, the existence of directories is checked and the missing directory are is created. Here, for In the example above, the "Monitoring" directory. The file size is controlled by the maxMax_logLog_size Size parameter that is described in the the Special Settings chapter.
Event category | Data purpose object | System events |
---|---|---|
Alarms | AlarmLogging | All changes of alarm states (information about particular alarm states and their changes, see the on-line online guide D2000 System Configuration - topic Alarm states). |
System | SystemLogging | Start and stop of the D2000 system Operator's logon into the D2000 system (logon with incorrect name or password). |
Process | ProcessLogging | All status changes of the D2000 system processes (e.g. start, stop, breakdown). |
Kom process | KomLogging | Communication failures. |
Operator | OperatorLogging | All operator's interactions into the system (e.g. changes of system objects' values via control windows in the process D2000 HI process). |
Event | EventMsgLogging | Logs are written by performed performing LOG commands. |
Logon/Logoff | LogonLogoffLogging | Operator's logon/ logoff logoff from/to the D2000 system processes. |
Data export | DataExportLogging | Export from Browser |
Change value | ChangeValueLogging | Spontaneous changes of values. |
PostMortemData | PostMortemDataLogging | Special communication data. |
To set parameters to write events of a given category into the log database:
- Click the required category of events.
- Using Log, History depth, Use device and Device placed bellow the table, set parameters for the given category of events.
- Click the Save button to confirm the log database configuration.