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 cb84513..39ce98e 100644 (file)
@@ -52,6 +52,7 @@ static int urandom_fd = -1;
 int main()
 {
        openlog("odhcpd", LOG_PERROR | LOG_PID, LOG_DAEMON);
 int main()
 {
        openlog("odhcpd", LOG_PERROR | LOG_PID, LOG_DAEMON);
+       setlogmask(LOG_UPTO(LOG_INFO));
        uloop_init();
 
        if (getuid() != 0) {
        uloop_init();
 
        if (getuid() != 0) {