sslh-select to use new log system

This commit is contained in:
yrutschle committed 2021-09-19 20:24:46 +02:00
1 parent dbad46a358
commit f7b6f669a4
7 files changed
+156 -43

No files matched your search

+18 -1
View File
@@ -34,12 +34,29 @@ msg_info msg_config = {
&cfg.verbose_config
};
msg_info msg_config_error = {
LOG_ERR,
&cfg.verbose_config_error
};
msg_info msg_fd = {
LOG_DEBUG,
&cfg.verbose_fd
};
/* Internal errors: inconsistent states, impossible values, things that should never happen, and are therefore the sign of memory corruption: hence the LOG_CRIT */
msg_info msg_int_error = {
LOG_CRIT,
&cfg.verbose_system_error
};
/* System errors: when the system around us fails us: memory allocation, fork, ... */
msg_info msg_system_error = {
LOG_ERR,
&cfg.verbose_system_error
};
/* Bitmasks in verbose-* values */
#define MSG_STDOUT 1