correct syslog mask so LOG_DEBUG msgs are not lost

MFC after:	2 weeks
This commit is contained in:
Sam Leffler 2008-03-22 16:18:07 +00:00
parent c20ee5ab6d
commit 043f1935e0

View File

@ -300,7 +300,7 @@ main(int argc, char *argv[])
/* Initially, log errors to stderr as well as to syslogd. */
openlog(__progname, LOG_PID | LOG_NDELAY, DHCPD_LOG_FACILITY);
setlogmask(LOG_UPTO(LOG_INFO));
setlogmask(LOG_UPTO(LOG_DEBUG));
while ((ch = getopt(argc, argv, "bc:dl:qu")) != -1)
switch (ch) {