[master] 81138bf Log the keep value rather than -1

Federico G. Schwindt fgsch at lodoss.net
Fri May 27 10:00:09 CEST 2016


commit 81138bf598fce112f84be5b2e74d29da24e5a832
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri May 27 08:37:46 2016 +0100

    Log the keep value rather than -1
    
    Useful if default_keep is not the default (0).

diff --git a/bin/varnishd/cache/cache_rfc2616.c b/bin/varnishd/cache/cache_rfc2616.c
index bc967d1..39902c5 100644
--- a/bin/varnishd/cache/cache_rfc2616.c
+++ b/bin/varnishd/cache/cache_rfc2616.c
@@ -199,7 +199,7 @@ RFC2616_Ttl(struct busyobj *bo, double now, double *t_origin,
 
 	VSLb(bo->vsl, SLT_TTL,
 	    "RFC %.0f %.0f %.0f %.0f %.0f %.0f %.0f %u",
-	    *ttl, *grace, -1., now,
+	    *ttl, *grace, *keep, now,
 	    *t_origin, h_date, h_expires, max_age);
 }
 



More information about the varnish-commit mailing list