Merged add_tags and lib.search into lib.tags.
[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 # Floof-specific configuration
43 thumbnail_size = 120
44 medium_size = 960
45
46 # Logging configuration
47 [loggers]
48 keys = root, routes, floof, sqlalchemy
49
50 [handlers]
51 keys = console
52
53 [formatters]
54 keys = generic
55
56 [logger_root]
57 level = INFO
58 handlers = console
59
60 [logger_routes]
61 level = INFO
62 handlers =
63 qualname = routes.middleware
64 # "level = DEBUG" logs the route matched and routing variables.
65
66 [logger_floof]
67 level = DEBUG
68 handlers =
69 qualname = floof
70
71 [logger_sqlalchemy]
72 level = INFO
73 handlers =
74 qualname = sqlalchemy.engine
75 # "level = INFO" logs SQL queries.
76 # "level = DEBUG" logs SQL queries and results.
77 # "level = WARN" logs neither. (Recommended for production systems.)
78
79 [handler_console]
80 class = StreamHandler
81 args = (sys.stderr,)
82 level = NOTSET
83 formatter = generic
84
85 [formatter_generic]
86 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
87 datefmt = %H:%M:%S