[4.0] 088d708 More canonical debug format for vmod_cache_req_body as suggested by fgs

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 15 16:35:41 CET 2015


commit 088d70861c57078772b06a29cac3f4acb90a36d9
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Sep 19 12:43:54 2014 +0200

    More canonical debug format for vmod_cache_req_body as suggested by fgs

diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index 241196b..ea2a41d 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -248,5 +248,5 @@ vmod_cache_req_body(const struct vrt_ctx *ctx, VCL_BYTES size)
 	int result;
 	CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
 	result = VRT_CacheReqBody(ctx, size);
-	VSLb(ctx->vsl, SLT_Debug,"VRT_CacheReqBody[size: %zu] result: %d", (size_t)size, result);
+	VSLb(ctx->vsl, SLT_Debug,"VRT_CacheReqBody(%zu): %d", (size_t)size, result);
 }



More information about the varnish-commit mailing list