# # wradmin - Pylons development environment configuration # # The %(here)s variable will be replaced with the parent directory of this file # [DEFAULT] debug = true # address which should receive any error reports email_to = philipp.spitzer@winterrodeln.org smtp_server = localhost error_email_from = philipp.spitzer@winterrodeln.org [server:main] use = egg:Paste#http host = 127.0.0.1 port = 5000 [app:main] use = egg:wradmin full_stack = true static_files = true cache_dir = %(here)s/data beaker.session.key = wradmin beaker.session.secret = somesecret authkit.setup.method = basic authkit.basic.realm = Winterrodeln Admin authkit.basic.authenticate.user.type = wradmin.lib.mediawiki:MediaWikiUsers authkit.basic.authenticate.user.data = # If you'd like to fine-tune the individual locations of the cache data dirs # for the Cache data, or the Session saves, un-comment the desired settings # here: #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&use_unicode=0 # If use_unicode=1, sqlalchemy requests unicode strings from the MySQLdb backend (and does not do the conversion itself), however, since the tables are defined as 'varchar(x) binary' only binary string are returned and not converted to unicode. # necessary for mySQL databases sqlalchemy.pool_recycle = 3600 # sqlalchemy.echo_pool = 1 # sqlalchemy.echo=true # 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. #set debug = false # Logging configuration [loggers] keys = root, routes, wradmin [handlers] keys = console, file [formatters] keys = generic [logger_root] level = INFO # handlers = file handlers = console [logger_routes] level = INFO handlers = qualname = routes.middleware # "level = DEBUG" logs the route matched and routing variables. [logger_wradmin] level = DEBUG handlers = qualname = wradmin [handler_console] class = StreamHandler 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