summaryrefslogtreecommitdiffstats
path: root/ipsilon/install
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-03-18 18:50:59 -0400
committerSimo Sorce <simo@redhat.com>2014-03-20 16:55:01 -0400
commit2052c80ef7353396b52cf6c78a594e630138ddaa (patch)
tree3cfe8807f02f1279f7456a7f03c49d991c60877a /ipsilon/install
parent28f3bbf67d88c5882af7052440f6c813900d8c26 (diff)
downloadipsilon.git-2052c80ef7353396b52cf6c78a594e630138ddaa.tar.gz
ipsilon.git-2052c80ef7353396b52cf6c78a594e630138ddaa.tar.xz
ipsilon.git-2052c80ef7353396b52cf6c78a594e630138ddaa.zip
Silence cherrypy logging to the screen
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon/install')
-rwxr-xr-xipsilon/install/server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipsilon/install/server.py b/ipsilon/install/server.py
index d49c395..7d198a6 100755
--- a/ipsilon/install/server.py
+++ b/ipsilon/install/server.py
@@ -20,6 +20,7 @@
from ipsilon.login.common import LoginMgrsInstall
from ipsilon.providers.common import ProvidersInstall
import argparse
+import cherrypy
import logging
import os
import shutil
@@ -42,6 +43,10 @@ class ConfigurationError(Exception):
return repr(self.message)
+#Silence cherrypy logging to screen
+cherrypy.log.screen = False
+
+# Regular logging
LOGFILE = '/var/log/ipsilon-install.log'
logger = logging.getLogger()