From 78615ceea81479b38af43697766bcc04421a256d Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 12 Aug 2010 01:54:38 +0000 Subject: logging enhancements * per translator loglevel introduced, if set, it will override process wide log level. * with extended attribute 'trusted.glusterfs..set-log-level' with the value being '', one can change log level of particular translator. * with extended attribute 'trusted.glusterfs.syslog' with the value '', one can enable disable syslog for gluster Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 601 (Enable changing 'log-level' of GlusterFS process at runtime) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=601 --- xlators/mount/fuse/src/fuse-bridge.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/mount/fuse/src/fuse-bridge.h') diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h index 8165053e0..afefd815a 100644 --- a/xlators/mount/fuse/src/fuse-bridge.h +++ b/xlators/mount/fuse/src/fuse-bridge.h @@ -27,6 +27,7 @@ #include #include #include +#include #ifndef _CONFIG_H #define _CONFIG_H @@ -273,5 +274,6 @@ xlator_t *fuse_state_subvol (fuse_state_t *state); xlator_t *fuse_active_subvol (xlator_t *fuse); inode_t *fuse_ino_to_inode (uint64_t ino, xlator_t *fuse); int fuse_resolve_and_resume (fuse_state_t *state, fuse_resume_fn_t fn); +int is_gf_log_command (xlator_t *this, const char *name, char *value); #endif /* _GF_FUSE_BRIDGE_H_ */ -- cgit