Disable debugging by default
authorSteven Barth <steven@midlink.org>
Fri, 3 Jan 2014 09:07:33 +0000 (10:07 +0100)
committerSteven Barth <steven@midlink.org>
Fri, 3 Jan 2014 09:07:33 +0000 (10:07 +0100)
src/odhcpd.c

index cb8451308a7f4cbe14ac49868775a727b690cffa..39ce98ea5895a7ea0f47523e752bb28c93110168 100644 (file)
@@ -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) {