summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2011-09-16 14:29:27 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2011-09-16 14:29:27 +0000
commit960e48ba522ac17404ce2fdc765d34f9ab5cc39b (patch)
tree8539e952481be34ea486f5815da364c16ec4f7f7 /usr.sbin/relayd/relay.c
parented8a097445ff193de4817851f2c6ec0ba743ea50 (diff)
If a user configures logging explicitly in relayd.conf, do it
regardlessly of debugging mode and compile switch. ok sthen@
Diffstat (limited to 'usr.sbin/relayd/relay.c')
-rw-r--r--usr.sbin/relayd/relay.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 83584bff0a2..e83fbc2f037 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.141 2011/09/04 20:26:58 bluhm Exp $ */
+/* $OpenBSD: relay.c,v 1.142 2011/09/16 14:29:26 bluhm Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@ -1056,8 +1056,7 @@ relay_handle_http(struct ctl_relay_event *cre, struct protonode *proot,
ret = PN_PASS;
break;
case NODE_ACTION_LOG:
- DPRINTF("%s: log '%s: %s'", __func__,
- pn->key, pk->value);
+ log_info("%s: log '%s: %s'", __func__, pn->key, pk->value);
ret = PN_PASS;
break;
case NODE_ACTION_MARK: