From 628b6adba8e454e31197d8e55839279245d22099 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 27 Mar 2016 16:54:33 +0000
Subject: [PATCH] enable_client_specific_tag(): Log the ttl when adding
 client-specific tags

---
 client-tags.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/client-tags.c b/client-tags.c
index e04345c8..165f8207 100644
--- a/client-tags.c
+++ b/client-tags.c
@@ -491,7 +491,8 @@ jb_err enable_client_specific_tag(struct client_state *csp,
    {
       add_tag_for_client(csp->ip_addr_str, tag_name, time_to_live);
       log_error(LOG_LEVEL_INFO,
-         "Tag '%s' enabled for client '%s'", tag->name, csp->ip_addr_str);
+         "Tag '%s' enabled for client '%s'. TTL: %d.",
+         tag->name, csp->ip_addr_str, time_to_live);
    }
 
    privoxy_mutex_unlock(&client_tags_mutex);
-- 
2.49.0