]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
Fix too much logging.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Jan 2011 13:16:27 +0000 (14:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Jan 2011 13:16:27 +0000 (14:16 +0100)
www/stasy.py
www/webapp.py
www/webapp/__init__.py
www/webapp/backend/__init__.py

index b0d4296fe189051b5d4279e14bafe56dad12952b..d3d7eb6401e264aac98b235f8d73a33a29d93853 100644 (file)
@@ -14,9 +14,6 @@ import tornado.web
 
 import webapp.backend as backend
 
-# Enable logging
-tornado.options.parse_command_line()
-
 DATABASE_HOST = ["irma.ipfire.org", "madeye.ipfire.org"]
 DATABASE_NAME = "stasy"
 
index 7f25974e59d767e7c973e9930733e90f32cd521d..0bbe14b9055fd7ac37bbd75638de1b2cb0fb568e 100755 (executable)
@@ -13,8 +13,6 @@ import tornado.options
 
 from webapp import Application
 
-tornado.options.parse_command_line()
-
 if __name__ == "__main__":
        app = Application()
 
index f7ca0ad95b53d678c0b7e54fccc14b558d1555e2..13faf1fa2d596c6820cc51e45b748ef39d700759 100644 (file)
@@ -15,10 +15,6 @@ from ui_modules import *
 
 BASEDIR = os.path.join(os.path.dirname(__file__), "..")
 
-# Enable logging
-tornado.options.enable_pretty_logging()
-tornado.options.parse_command_line()
-
 tornado.locale.load_translations(os.path.join(BASEDIR, "translations"))
 
 class Application(tornado.web.Application):
index 288daf63f083f88ee82a80b7523e8e5297e065ea..0ec8d57e3d7336df421090efd30456c1448aa0c7 100644 (file)
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 
+import tornado.options
+tornado.options.parse_command_line()
+
 from accounts  import Accounts
 from banners   import Banners
 from geoip             import GeoIP