summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils/mount.glusterfs.in
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-03-30 21:14:45 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-03-31 23:39:45 +0530
commit9922b37658d7d996321382c5157bf33bbbb1330d (patch)
tree11852674fbdc91867e1538da197aaf492aa16d7c /xlators/mount/fuse/utils/mount.glusterfs.in
parenta0c1de7c9cf41d37f95660fe45da66418e263340 (diff)
Add support for log-level NORMAL in fuse mount helper script.
- patch submitted by John Feuerstein <john@feurix.com>. - copying changes in the patch verbatim to xlators/mount/fuse/utils/mount.glusterfs.in and xlators/mount/fuse/utils/mount_glusterfs.in Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/mount/fuse/utils/mount.glusterfs.in')
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index 58da509f17b..3f9778c65a4 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -25,10 +25,11 @@ _init ()
LOG_CRITICAL=CRITICAL;
LOG_ERROR=ERROR;
LOG_WARNING=WARNING;
+ LOG_NORMAL=NORMAL
LOG_DEBUG=DEBUG;
# set default log level to ERROR
- log_level=$LOG_WARNING;
+ log_level=$LOG_NORMAL;
}
start_glusterfs ()
@@ -42,6 +43,9 @@ start_glusterfs ()
"ERROR")
log_level=$LOG_ERROR;
;;
+ "NORMAL")
+ log_level=$LOG_NORMAL
+ ;;
"DEBUG")
log_level=$LOG_DEBUG;
;;
@@ -55,8 +59,8 @@ start_glusterfs ()
log_level=$LOG_NONE;
;;
*)
- echo "invalid log level $log_level_str, using ERROR";
- log_level=$LOG_ERROR;
+ echo "invalid log level $log_level_str, using NORMAL";
+ log_level=$LOG_NORMAL;
;;
esac
fi