summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
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
parente0c284c6e7c98b3a2fbd5c60d59b928d6e7af88a (diff)
Remove log level TRACE and the macro GF_TRACE.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/logging.h7
-rw-r--r--libglusterfs/src/xlator.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h
index 26d60db8497..ecd70d09a2c 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__ */
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index 654e334e73e..b9555ffd5e8 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -860,7 +860,6 @@ struct _xlator {
glusterfs_ctx_t *ctx;
inode_table_t *itable;
char ready;
- char trace;
char init_succeeded;
void *private;
};