summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-16 15:12:38 +0000
committernicm <nicm>2017-06-16 15:12:38 +0000
commita67df177634f5ff3f6a24598d4016f61a794af62 (patch)
tree3eb9537b70db08203f2ca8237da325d6176031f5 /cmd-queue.c
parentd685604d0460fd5894c53b20d18e6157e8dc0000 (diff)
Tweak some logging.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 8d89e990..db802339 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -453,6 +453,8 @@ cmdq_error(struct cmdq_item *item, const char *fmt, ...)
msglen = xvasprintf(&msg, fmt, ap);
va_end(ap);
+ log_debug("%s: %s", __func__, msg);
+
if (c == NULL)
cfg_add_cause("%s:%u: %s", cmd->file, cmd->line, msg);
else if (c->session == NULL || (c->flags & CLIENT_CONTROL)) {