whoops, put this in the right place

pull/69/head
W3AXL 2 years ago
parent babfdeb4f3
commit 8c836ec336

@ -120,7 +120,6 @@ static bool LogOpen()
setlogmask(LOG_UPTO(LOG_INFO)); setlogmask(LOG_UPTO(LOG_INFO));
break; break;
case 3U: case 3U:
case 9999U: // in-band U: messages should also be notices
setlogmask(LOG_UPTO(LOG_NOTICE)); setlogmask(LOG_UPTO(LOG_NOTICE));
break; break;
case 4U: case 4U:
@ -284,6 +283,7 @@ void Log(uint32_t level, const char *module, const char* fmt, ...)
syslogLevel = LOG_NOTICE; syslogLevel = LOG_NOTICE;
break; break;
case 3U: case 3U:
case 9999U: // in-band U: messages should also be info level
syslogLevel = LOG_INFO; syslogLevel = LOG_INFO;
break; break;
case 4U: case 4U:

Loading…
Cancel
Save

Powered by TurnKey Linux.