syslog: setlogmask() to include LOG_INFO

LOG_INFO seems to be excluded by default on some systems (OS X).
This commit is contained in:
Martin Willi
2013-07-18 12:17:54 +02:00
parent 55dacbfac2
commit 61177388bd
+1
View File
@@ -173,6 +173,7 @@ sys_logger_t *sys_logger_create(int facility)
);
set_level(this, DBG_ANY, LEVEL_SILENT);
setlogmask(LOG_UPTO(LOG_INFO));
return &this->public;
}