For logging configuration of Áú»¢¶Ä²© daemons "LogFile" configuration parameter is used. If this parameter is left empty (LogFile=), syslog logging facilities are used. All Áú»¢¶Ä²© daemons on Unix-like platforms log their messages from "Daemon" environment. The mapping between Áú»¢¶Ä²© logging levels and syslog levels is as follows:
Áú»¢¶Ä²© log level | syslog log level | Comments |
---|---|---|
0 - empty (LOG_LEVEL_EMPTY) |
syslog is not used. | All messages are skipped. |
1 - critical information (LOG_LEVEL_CRIT) |
critical conditions (LOG_CRIT) |
|
2 - error information (LOG_LEVEL_ERR) |
error conditions (LOG_ERR) |
|
3 - warnings (LOG_LEVEL_WARNING) |
warning conditions (LOG_WARNING) |
|
4 - for debugging (LOG_LEVEL_DEBUG) |
debug-level messages (LOG_DEBUG) |
For syslog configuration consult the corresponding literature.
Áú»¢¶Ä²© agent under Windows uses Event Log if "LogFile" configuration parameter is provided empty. Mapping between Áú»¢¶Ä²© log levels (messages of corresponding type) and Windows Event Log entries type is provided below:
Áú»¢¶Ä²© log level | Windows Event Log entry type | Comments |
---|---|---|
0 - empty (LOG_LEVEL_EMPTY) |
Event Log is not used. | All messages are skipped. |
1 - critical information (LOG_LEVEL_CRIT) 2 - error information (LOG_LEVEL_ERR) |
EVENTLOG_ERROR_TYPE | Error |
3 - warnings (LOG_LEVEL_WARNING) |
EVENTLOG_WARNING_TYPE | Warning |
4 - for debugging (LOG_LEVEL_DEBUG) |
EVENTLOG_INFORMATION_TYPE | Information |