don't use TSPluginSpecific because we're don't want to depend on a txn we don't have access to as well as a hyptothetical PLUGIN_NAME
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6d10294a Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6d10294a Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6d10294a Branch: refs/heads/consistent-gzip-error-msgs Commit: 6d10294ae5116432555a66ddc9c99eb3925418af Parents: 4c57a1f Author: Igor GaliÄ <[email protected]> Authored: Thu Aug 8 16:22:33 2013 +0200 Committer: Igor GaliÄ <[email protected]> Committed: Thu Aug 8 19:39:03 2013 +0200 ---------------------------------------------------------------------- proxy/api/ts/ts.h.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6d10294a/proxy/api/ts/ts.h.in ---------------------------------------------------------------------- diff --git a/proxy/api/ts/ts.h.in b/proxy/api/ts/ts.h.in index 7bd2453..05f2fe5 100644 --- a/proxy/api/ts/ts.h.in +++ b/proxy/api/ts/ts.h.in @@ -1305,21 +1305,21 @@ extern "C" } while (0) #define TSPluginInfo(fmt, args...) do { \ - TSDebugSpecific(PLUGIN_NAME, "INFO: " fmt, ##args ); \ + TSDebug(PLUGIN_NAME, "INFO: " fmt, ##args ); \ } while (0) #define TSPluginWarning(fmt, args...) do { \ - TSDebugSpecific(PLUGIN_NAME, "WARNING: " fmt, ##args ); \ + TSDebug(PLUGIN_NAME, "WARNING: " fmt, ##args ); \ } while (0) #define TSPluginError(fmt, args...) do { \ TSError("[%s] [%s:%d] [%s] ERROR: " fmt, PLUGIN_NAME, __FILE__, __LINE__, __FUNCTION__ , ##args ); \ - TSDebugSpecific(PLUGIN_NAME, "[%s:%d] [%s] ERROR: " fmt, __FILE__, __LINE__, __FUNCTION__ , ##args ); \ + TSDebug(PLUGIN_NAME, "[%s:%d] [%s] ERROR: " fmt, __FILE__, __LINE__, __FUNCTION__ , ##args ); \ } while (0) #define TSPluginFatal(fmt, args...) do { \ TSError("[%s] [%s:%d] [%s] FATAL: " fmt, PLUGIN_NAME, __FILE__, __LINE__, __FUNCTION__ , ##args ); \ - TSDebugSpecific(PLUGIN_NAME, "[%s:%d] [%s] FATAL: " fmt, __FILE__, __LINE__, __FUNCTION__ , ##args ); \ + TSDebug(PLUGIN_NAME, "[%s:%d] [%s] FATAL: " fmt, __FILE__, __LINE__, __FUNCTION__ , ##args ); \ exit(-1); \ } while (0)
