summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.h
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-08-02 16:17:36 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-08-15 05:04:15 -0700
commit206fd324e33127d4c370007f223f8c12ab06b714 (patch)
tree69b1b568860ac826bcb0e391a0acc554c99a252c /libglusterfs/src/logging.h
parent79b9ad3dfa146ef29ac99bf87d1c31f5a6fe1fef (diff)
logging: Fix per xl log level
Currently per xlator loglevel setting doesn't work, due to the flaw in loglevel checking. Fix the same. Per xlator logging can be set using the below command: Eg: setfattr -n trusted.glusterfs.patchy-md-cache.set-log-level -v TRACE /mnt/glusterfs/0 Change-Id: I8ff1d15bd5693b6f682d99bee22a4bbb5eee646c BUG: 1362520 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/15071 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'libglusterfs/src/logging.h')
-rw-r--r--libglusterfs/src/logging.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h
index f3a694ceefd..a6e318dc3fa 100644
--- a/libglusterfs/src/logging.h
+++ b/libglusterfs/src/logging.h
@@ -100,7 +100,6 @@ typedef struct gf_log_handle_ {
gf_loglevel_t loglevel;
int gf_log_syslog;
gf_loglevel_t sys_log_level;
- char gf_log_xl_log_set;
char *filename;
FILE *logfile;
FILE *gf_log_logfile;