trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: TS-4939: Print the debug tag in diagnostic messages.
Date Thu, 06 Oct 2016 16:04:20 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  f9cff58   TS-4939: Print the debug tag in diagnostic messages.
f9cff58 is described below

commit f9cff5884b5c61606219da15d9d7d738e55e421d
Author: James Peach <jpeach@apache.org>
AuthorDate: Wed Oct 5 21:17:16 2016 -0700

    TS-4939: Print the debug tag in diagnostic messages.
---
 lib/ts/Diags.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/ts/Diags.h b/lib/ts/Diags.h
index fd5c183..ddfba84 100644
--- a/lib/ts/Diags.h
+++ b/lib/ts/Diags.h
@@ -166,7 +166,7 @@ public:
   {
     va_list ap;
     va_start(ap, fmt);
-    print_va(NULL, level, loc, fmt, ap);
+    print_va(tag, level, loc, fmt, ap);
     va_end(ap);
   }
 
@@ -178,7 +178,7 @@ public:
     if (on(tag)) {
       va_list ap;
       va_start(ap, fmt);
-      print_va(NULL, level, loc, fmt, ap);
+      print_va(tag, level, loc, fmt, ap);
       va_end(ap);
     }
   }
@@ -187,7 +187,7 @@ public:
   log_va(const char *tag, DiagsLevel level, const SourceLocation *loc, const char *fmt, va_list
ap)
   {
     if (on(tag)) {
-      print_va(NULL, level, loc, fmt, ap);
+      print_va(tag, level, loc, fmt, ap);
     }
   }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message