From: Steven Barth Date: Fri, 3 Jan 2014 09:07:33 +0000 (+0100) Subject: Disable debugging by default X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=commitdiff_plain;h=0903c8170e762a8ab9fa45d521b7d509a0acdaa2 Disable debugging by default --- diff --git a/src/odhcpd.c b/src/odhcpd.c index cb84513..39ce98e 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -52,6 +52,7 @@ static int urandom_fd = -1; int main() { openlog("odhcpd", LOG_PERROR | LOG_PID, LOG_DAEMON); + setlogmask(LOG_UPTO(LOG_INFO)); uloop_init(); if (getuid() != 0) {