The Etere Logs system uniforms the logging procedure for easy tracking, analysing, and debugging problems. Only error messages would be logged. Verbose logging can be activated when necessary.
Log structure:
Log Severity:
0= None
1= Information
2= Warning
3= Error
4= Debug
5= Journal (module Start / End)
6= Ping (for SNMP service)
Date/ Time: Written in UTC format.
Location: Information include Workstation/User/Module.
Error detail: Optional.
The log file contains the last 100 lines (configurable) of error and warning log data. When one error (or warning) message arrives, all buffer content in error would be written to a database table, and so on for all 100 lines of logs received.
When the log arrives, the logging system would check the log entry (Workstation/User/Module) and return the entry ID; the logging would tag the ID and start recording in the log system.
- for the database log, contains error and journal (program Start / End) information.
- for SNMP log, it contains error and Ping information.
In SQL Database, the log data would be stored in the "User name_Logs" table (previously as "User name_doma") upon archive maintenance. The log data in the database would be deleted after 300 days.
Log settings in Windows Registry
You can define different log data to be written in the database using Windows Registry.
In [Computer \ HKEY_LOCAL_MACHINE \ Software \ etere \ log]
Create a DWORD key-value "Enable" and set the value as one of the following to capture different log data:
0 = Log only journal (Start / End) and error information in SQL database.
1 = Log journal (Start / End), error and warning information in SQL database.
2 = Log all information (0 + 1) in SQL database.
3 = Log all information (0 + 1) in local text file.
Create a DWORD key-value "EndDate" and set the value as "YYYYMMDD" date format:
This value determines the date when the "Enable” key-value would reset to "0”.
The value is only valid for the next 7 days from the current day.