summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfsd/src/glusterfsd.c4
-rw-r--r--libglusterfs/src/logging.h7
-rw-r--r--libglusterfs/src/xlator.h1
-rw-r--r--xlators/storage/posix/src/posix.c2
4 files changed, 1 insertions, 13 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 551a4490e..aef023827 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 26d60db84..ecd70d09a 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 654e334e7..b9555ffd5 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 4c716dad9..77c9f208d 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));
}