trafficserver-commits mailing list archives

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

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

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

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

    TS-4939: Print the debug tag in diagnostic messages.
    
    (cherry picked from commit f9cff5884b5c61606219da15d9d7d738e55e421d)
---
 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