From ec20d657ba6782216f8326d192d66af520386931 Mon Sep 17 00:00:00 2001 From: Norman Stanke Date: Wed, 18 Nov 2015 21:39:17 +0100 Subject: [PATCH] Change Z-Push log level to error --- setup/zpush.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/zpush.sh b/setup/zpush.sh index b95a59ee..33aadc0c 100755 --- a/setup/zpush.sh +++ b/setup/zpush.sh @@ -27,7 +27,7 @@ needs_update=0 #NODOC if [ ! -f /usr/local/lib/z-push/version ]; then needs_update=1 #NODOC elif [[ $TARGETHASH != `cat /usr/local/lib/z-push/version` ]]; then - # checks if the version + # checks if the version needs_update=1 #NODOC fi if [ $needs_update == 1 ]; then @@ -44,6 +44,7 @@ sed -i "s/define('BACKEND_PROVIDER', .*/define('BACKEND_PROVIDER', 'BackendCombi sed -i "s/define('USE_FULLEMAIL_FOR_LOGIN', .*/define('USE_FULLEMAIL_FOR_LOGIN', true);/" /usr/local/lib/z-push/config.php sed -i "s/define('LOG_MEMORY_PROFILER', .*/define('LOG_MEMORY_PROFILER', false);/" /usr/local/lib/z-push/config.php sed -i "s/define('BUG68532FIXED', .*/define('BUG68532FIXED', false);/" /usr/local/lib/z-push/config.php +sed -i "s/define('LOGLEVEL', .*/define('LOGLEVEL', LOGLEVEL_ERROR);/" /usr/local/lib/z-push/config.php # Configure BACKEND rm -f /usr/local/lib/z-push/backend/combined/config.php