summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-03-22 16:18:07 +0000
committersam <sam@FreeBSD.org>2008-03-22 16:18:07 +0000
commitba857311dd69b8ea1169af902785b27a86119890 (patch)
tree33232cc13616ccf6563b2350e44a08f95feafbbf /sbin/dhclient/dhclient.c
parent0f834356e362ad22fd5789d0ebc7a086c303aec1 (diff)
downloadFreeBSD-src-ba857311dd69b8ea1169af902785b27a86119890.zip
FreeBSD-src-ba857311dd69b8ea1169af902785b27a86119890.tar.gz
correct syslog mask so LOG_DEBUG msgs are not lost
MFC after: 2 weeks
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index c2d3635..949e12e 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -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) {
OpenPOWER on IntegriCloud