summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.h
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-06-29 03:13:56 +0000
committerAnand Avati <avati@gluster.com>2011-07-11 23:19:17 -0700
commitae5f7c2c1d88cee0029c555f2416fe7c998cc1c2 (patch)
tree04af992d5c2498d542934dd487bb7c487668a60b /libglusterfs/src/logging.h
parente9d960391794db917bd3e984c8dc3fd7e3cec706 (diff)
libglusterfs/logging: Added functions to set sys-log-level.
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3044 (provide option to set syslog loglevel through CLI) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3044
Diffstat (limited to 'libglusterfs/src/logging.h')
-rw-r--r--libglusterfs/src/logging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h
index 0a76f1612..9441943a0 100644
--- a/libglusterfs/src/logging.h
+++ b/libglusterfs/src/logging.h
@@ -146,4 +146,6 @@ void gf_log_set_xl_loglevel (void *xl, gf_loglevel_t level);
int gf_cmd_log (const char *domain, const char *fmt, ...);
int gf_cmd_log_init (const char *filename);
+
+void set_sys_log_level (gf_loglevel_t level);
#endif /* __LOGGING_H__ */