Implemented repoze.who. At the moment it's only checking when you enter the dashboard...
[jelmer/swat.git] / development.ini
1 #
2 # swat - 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 # Uncomment and replace with the address which should receive any error reports
9 #email_to = you@yourdomain.com
10 smtp_server = localhost
11 error_email_from = paste@localhost
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:swat
20 full_stack = true
21 static_files = true
22 lang = en
23
24 #
25 # repoze.who
26 #
27 who.config_file = %(here)s/who.ini
28 who.log_level = debug
29 who.log_file = stdout
30
31 cache_dir = %(here)s/data
32 beaker.session.key = swat
33 beaker.session.secret = somesecret
34
35 # If you'd like to fine-tune the individual locations of the cache data dirs
36 # for the Cache data, or the Session saves, un-comment the desired settings
37 # here:
38 #beaker.cache.data_dir = %(here)s/data/cache
39 #beaker.session.data_dir = %(here)s/data/sessions
40
41 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
42 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
43 # execute malicious code after an exception is raised.
44 #set debug = false
45
46
47 # Logging configuration
48 [loggers]
49 keys = root, routes, swat
50
51 [handlers]
52 keys = console
53
54 [formatters]
55 keys = generic
56
57 [logger_root]
58 level = INFO
59 handlers = console
60
61 [logger_routes]
62 level = INFO
63 handlers =
64 qualname = routes.middleware
65 # "level = DEBUG" logs the route matched and routing variables.
66
67 [logger_swat]
68 level = DEBUG
69 handlers =
70 qualname = swat
71
72 [handler_console]
73 class = StreamHandler
74 args = (sys.stderr,)
75 level = NOTSET
76 formatter = generic
77
78 [formatter_generic]
79 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
80 datefmt = %H:%M:%S