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