ca29659c60ecf85ff2bff0dbf4ba1ae9ba843bea
[zzz-floof.git] / development.ini
1 #
2 # floof - 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:floof
20 full_stack = true
21 static_files = true
22
23 cache_dir = %(here)s/data
24 beaker.session.key = floof
25 beaker.session.secret = somesecret
26
27 # If you'd like to fine-tune the individual locations of the cache data dirs
28 # for the Cache data, or the Session saves, un-comment the desired settings
29 # here:
30 #beaker.cache.data_dir = %(here)s/data/cache
31 #beaker.session.data_dir = %(here)s/data/sessions
32
33 # SQLAlchemy database URL
34 sqlalchemy.url = sqlite:///%(here)s/development.db
35
36 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
37 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
38 # execute malicious code after an exception is raised.
39 #set debug = false
40
41
42 # Logging configuration
43 [loggers]
44 keys = root, routes, floof, sqlalchemy
45
46 [handlers]
47 keys = console
48
49 [formatters]
50 keys = generic
51
52 [logger_root]
53 level = INFO
54 handlers = console
55
56 [logger_routes]
57 level = INFO
58 handlers =
59 qualname = routes.middleware
60 # "level = DEBUG" logs the route matched and routing variables.
61
62 [logger_floof]
63 level = DEBUG
64 handlers =
65 qualname = floof
66
67 [logger_sqlalchemy]
68 level = INFO
69 handlers =
70 qualname = sqlalchemy.engine
71 # "level = INFO" logs SQL queries.
72 # "level = DEBUG" logs SQL queries and results.
73 # "level = WARN" logs neither. (Recommended for production systems.)
74
75 [handler_console]
76 class = StreamHandler
77 args = (sys.stderr,)
78 level = NOTSET
79 formatter = generic
80
81 [formatter_generic]
82 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
83 datefmt = %H:%M:%S