summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-01-03 10:07:33 +0100
committerSteven Barth <steven@midlink.org>2014-01-03 10:07:33 +0100
commit0903c8170e762a8ab9fa45d521b7d509a0acdaa2 (patch)
tree11b3a76bccd8a4e8d7aac74a575d298b33476f49 /src
parent0850938d569998bf4a570d834e73aeba08646f61 (diff)
Disable debugging by default
Diffstat (limited to 'src')
-rw-r--r--src/odhcpd.c1
1 files changed, 1 insertions, 0 deletions
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) {