diff options
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 4 | ||||
-rw-r--r-- | libglusterfs/src/logging.h | 7 | ||||
-rw-r--r-- | libglusterfs/src/xlator.h | 1 | ||||
-rw-r--r-- | xlators/storage/posix/src/posix.c | 2 |
4 files changed, 1 insertions, 13 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 551a4490e47..aef02382727 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -685,10 +685,6 @@ parse_opts (int key, char *arg, struct argp_state *state) cmd_args->log_level = GF_LOG_NONE; break; } - if (strcasecmp (arg, ARGP_LOG_LEVEL_TRACE_OPTION) == 0) { - cmd_args->log_level = GF_LOG_TRACE; - break; - } if (strcasecmp (arg, ARGP_LOG_LEVEL_CRITICAL_OPTION) == 0) { cmd_args->log_level = GF_LOG_CRITICAL; break; 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; }; diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 4c716dad9ec..77c9f208d6a 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -2590,7 +2590,7 @@ posix_print_xattr (dict_t *this, data_t *value, void *data) { - gf_log ("posix", GF_LOG_TRACE, + gf_log ("posix", GF_LOG_DEBUG, "(key/val) = (%s/%d)", key, data_to_int32 (value)); } |