summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay_http.c
diff options
context:
space:
mode:
authorandre <andre@cvs.openbsd.org>2014-04-15 22:35:12 +0000
committerandre <andre@cvs.openbsd.org>2014-04-15 22:35:12 +0000
commit7d37edd5ab3a55e6a82dbd05e8bb500f7939d34a (patch)
treebfe5b15cc36947d4f16b8be65f2b2e91997f7e48 /usr.sbin/relayd/relay_http.c
parentd6c96f43b295221c5a470e47199d0e4529e03128 (diff)
Print hashkey to debug output, this helps hash-action use cases to be tested.
Use log_debug() instead of log_info(). ok reyk@
Diffstat (limited to 'usr.sbin/relayd/relay_http.c')
-rw-r--r--usr.sbin/relayd/relay_http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c
index a7925b44c2f..44d47ea2d0d 100644
--- a/usr.sbin/relayd/relay_http.c
+++ b/usr.sbin/relayd/relay_http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay_http.c,v 1.16 2013/09/04 22:21:32 bluhm Exp $ */
+/* $OpenBSD: relay_http.c,v 1.17 2014/04/15 22:35:11 andre Exp $ */
/*
* Copyright (c) 2006 - 2012 Reyk Floeter <reyk@openbsd.org>
@@ -1103,10 +1103,11 @@ relay_handle_http(struct ctl_relay_event *cre, struct protonode *proot,
con->se_hashkey = HASHINIT;
con->se_hashkey = hash32_str(pk->value, con->se_hashkey);
con->se_hashkeyset = 1;
+ log_debug("%s: hash 0x%04x", __func__, con->se_hashkey);
ret = PN_PASS;
break;
case NODE_ACTION_LOG:
- log_info("%s: log '%s: %s'", __func__, pn->key, pk->value);
+ log_debug("%s: log '%s: %s'", __func__, pn->key, pk->value);
ret = PN_PASS;
break;
case NODE_ACTION_MARK: