summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-04-21 02:18:38 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-24 20:57:41 +0530
commit174872b3644d36f6d0f8a34d9c06092abc126e4f (patch)
treecad11fd062f2cd2f8c7860089fbec04ca507c4be /libglusterfs/src/logging.h
parente0c284c6e7c98b3a2fbd5c60d59b928d6e7af88a (diff)
downloadglusterfs-174872b3644d36f6d0f8a34d9c06092abc126e4f.tar.gz
glusterfs-174872b3644d36f6d0f8a34d9c06092abc126e4f.tar.xz
glusterfs-174872b3644d36f6d0f8a34d9c06092abc126e4f.zip
Remove log level TRACE and the macro GF_TRACE.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/logging.h')
-rw-r--r--libglusterfs/src/logging.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h
index 26d60db849..ecd70d09a2 100644
--- a/libglusterfs/src/logging.h
+++ b/libglusterfs/src/logging.h
@@ -69,7 +69,6 @@
typedef enum {
GF_LOG_NONE,
- GF_LOG_TRACE,
GF_LOG_CRITICAL, /* fatal errors */
GF_LOG_ERROR, /* major failures (not necessarily fatal) */
GF_LOG_WARNING, /* info about normal operation */
@@ -123,10 +122,4 @@ gf_log_set_loglevel (gf_loglevel_t level);
#define GF_ERROR(xl, format, args...) \
gf_log ((xl)->name, GF_LOG_ERROR, format, ##args)
-#define GF_TRACE(xl, args...) do { \
- if ((xl)->trace) \
- _gf_log ((xl)->name, __FILE__, __FUNCTION__, \
- __LINE__, GF_LOG_TRACE, ##args); \
- } while(0); \
-
#endif /* __LOGGING_H__ */