]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/development.ini
Added SQLAlchemy 0.5.3 support. Created "bericht" controller to view reports.
[philipp/winterrodeln/wradmin.git] / wradmin / development.ini
index 32f50380e6e41d426a0c0c398bd2230f76f9022a..cb4f9e2bdf1bee88b018d0e03b197e06cf89ec11 100644 (file)
@@ -41,6 +41,9 @@ authkit.basic.authenticate.user.data =
 #beaker.cache.data_dir = %(here)s/data/cache
 #beaker.session.data_dir = %(here)s/data/sessions
 
+# SQLAlchemy database URL
+sqlalchemy.url = mysql://philipp@localhost:3306/winterrodeln_wiki?charset=utf8
+
 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
 # execute malicious code after an exception is raised.
@@ -52,13 +55,14 @@ authkit.basic.authenticate.user.data =
 keys = root, routes, wradmin
 
 [handlers]
-keys = console
+keys = console, file
 
 [formatters]
 keys = generic
 
 [logger_root]
 level = INFO
+# handlers = file
 handlers = console
 
 [logger_routes]
@@ -78,6 +82,12 @@ args = (sys.stderr,)
 level = NOTSET
 formatter = generic
 
+[handler_file]
+class = FileHandler
+args = ('/tmp/pylons_application.log', 'a')
+level = INFO
+formatter = generic
+
 [formatter_generic]
 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
 datefmt = %H:%M:%S