]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart:Suppress trivial logging info during devlopment
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 27 Apr 2017 14:06:29 +0000 (16:06 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 26 May 2017 10:07:14 +0000 (12:07 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/vstart.sh

index 9976c09e5ce7d6b921c118fb9e580e9d35fb759d..4ef554798ece65d85e04de265a896223297191e3 100755 (executable)
@@ -49,6 +49,10 @@ fi
 export PYTHONPATH=$PYBIND:$CEPH_LIB/cython_modules/lib.2:$PYTHONPATH
 export LD_LIBRARY_PATH=$CEPH_LIB:$LD_LIBRARY_PATH
 export DYLD_LIBRARY_PATH=$CEPH_LIB:$DYLD_LIBRARY_PATH
+# Suppress logging for regular use that indicated that we are using a
+# development version. vstart.sh is only used during testing and 
+# development
+export CEPH_DEV=1
 
 [ -z "$CEPH_NUM_MON" ] && CEPH_NUM_MON="$MON"
 [ -z "$CEPH_NUM_OSD" ] && CEPH_NUM_OSD="$OSD"
@@ -959,3 +963,6 @@ if [ "$CEPH_DIR" != "$PWD" ]; then
     echo "export CEPH_CONF=$conf_fn"
     echo "export CEPH_KEYRING=$keyring_fn"
 fi
+
+echo "CEPH_DEV=1"
+