]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/development.ini
Fixed bug: Error message about the cachet could not be UTF-8 encoded.
[philipp/winterrodeln/wradmin.git] / wradmin / development.ini
1 #
2 # wradmin - Pylons development environment configuration
3 #
4 # The %(here)s variable will be replaced with the parent directory of this file
5 #
6 [DEFAULT]
7 debug = true
8 # address which should receive any error reports
9 email_to = philipp.spitzer@winterrodeln.org
10 smtp_server = localhost
11 error_email_from = philipp.spitzer@winterrodeln.org
12
13 [server:main]
14 use = egg:Paste#http
15 host = 127.0.0.1
16 port = 5000
17
18 [app:main]
19 use = egg:wradmin
20 full_stack = true
21 static_files = true
22
23 cache_dir = %(here)s/data
24 beaker.session.key = wradmin
25 beaker.session.secret = uZ7ttRbv4eWd9qMdiio
26
27 authkit.setup.method = basic
28 authkit.basic.realm = Winterrodeln Admin
29 authkit.basic.authenticate.user.type = wradmin.lib.mediawiki:MediaWikiUsers
30 authkit.basic.authenticate.user.data = 
31
32 # If you'd like to fine-tune the individual locations of the cache data dirs
33 # for the Cache data, or the Session saves, un-comment the desired settings
34 # here:
35 #beaker.cache.data_dir = %(here)s/data/cache
36 #beaker.session.data_dir = %(here)s/data/sessions
37
38 # SQLAlchemy database URL
39 sqlalchemy.url = mysql://philipp@localhost:3306/winterrodeln_wiki?charset=utf8&use_unicode=0
40 # If we would use "use_unicode=1" or omit the parameter (because its the default), 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 strings are returned and not converted to unicode.
41
42 # necessary for mySQL databases
43 sqlalchemy.pool_recycle = 3600
44 # sqlalchemy.echo_pool = 1
45 # sqlalchemy.echo=true
46
47 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
48 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
49 # execute malicious code after an exception is raised.
50 #set debug = false
51
52
53 # Logging configuration
54 [loggers]
55 keys = root, routes, wradmin
56
57 [handlers]
58 keys = console, file
59
60 [formatters]
61 keys = generic
62
63 [logger_root]
64 level = INFO
65 # handlers = file
66 handlers = console
67
68 [logger_routes]
69 level = INFO
70 handlers =
71 qualname = routes.middleware
72 # "level = DEBUG" logs the route matched and routing variables.
73
74 [logger_wradmin]
75 level = DEBUG
76 handlers =
77 qualname = wradmin
78
79 [handler_console]
80 class = StreamHandler
81 args = (sys.stderr,)
82 level = NOTSET
83 formatter = generic
84
85 [handler_file]
86 class = FileHandler
87 args = ('/tmp/pylons_application.log', 'a')
88 level = INFO
89 formatter = generic
90
91 [formatter_generic]
92 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
93 datefmt = %H:%M:%S