Hi, If a user configures logging explicitly in relayd.conf, we should do it regardlessly of debugging mode and compile switch.
ok? bluhm Index: usr.sbin/relayd/relay.c =================================================================== RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/relayd/relay.c,v retrieving revision 1.141 diff -u -p -r1.141 relay.c --- usr.sbin/relayd/relay.c 4 Sep 2011 20:26:58 -0000 1.141 +++ usr.sbin/relayd/relay.c 15 Sep 2011 19:19:06 -0000 @@ -1056,8 +1056,7 @@ relay_handle_http(struct ctl_relay_event 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: