syslog: setlogmask() to include LOG_INFO
LOG_INFO seems to be excluded by default on some systems (OS X).
This commit is contained in:
parent
55dacbfac2
commit
61177388bd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue