Commit 9c367cbd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Log the length of cli responses to VSL



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5112 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7e76808a
......@@ -95,7 +95,8 @@ static void
cli_cb_after(const struct cli *cli)
{
Lck_Unlock(&cli_mtx);
VSL(SLT_CLI, 0, "Wr %03u %s", cli->result, vsb_data(cli->sb));
VSL(SLT_CLI, 0, "Wr %03u %u %s",
cli->result, vsb_len(cli->sb), vsb_data(cli->sb));
}
void
......@@ -183,4 +184,3 @@ CLI_Init(void)
CLI_AddFuncs(master_cmds);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment