Mercurial > kallithea
annotate production.ini @ 28:fd0c6fa2df82
backup script update
author | Marcin Kuzminski |
---|---|
date | Mon, 01 Mar 2010 12:29:27 +0100 |
parents | 436bee78d81a |
children | 71ffa932799d |
rev | line source |
---|---|
12 | 1 ################################################################################ |
2 ################################################################################ | |
3 # pylons_app - Pylons environment configuration # | |
4 # # | |
5 # The %(here)s variable will be replaced with the parent directory of this file# | |
6 ################################################################################ | |
10
525ed90e4577
major app speedup moved the wsgi creation to app globals, in order to make it run only once.
Marcin Kuzminski
parents:
7
diff
changeset
|
7 |
2 | 8 [DEFAULT] |
9 debug = true | |
12 | 10 ############################################ |
11 ## Uncomment and replace with the address ## | |
12 ## which should receive any error reports ## | |
13 ############################################ | |
14 | 14 #email_to = marcin.kuzminski@etelko.pl |
15 #smtp_server = mail.etelko.pl | |
16 #error_email_from = paste_error@localhost | |
17 #smtp_username = | |
18 #smtp_password = | |
19 #error_message = 'mercurial crash !' | |
2 | 20 |
21 [server:main] | |
22 use = egg:Paste#http | |
23 host = 127.0.0.1 | |
7 | 24 port = 8001 |
2 | 25 |
26 [app:main] | |
27 use = egg:pylons_app | |
14 | 28 full_stack = true |
17
436bee78d81a
Litle code cleanups, This version handles repos correctly.
Marcin Kuzminski
parents:
16
diff
changeset
|
29 static_files = false |
2 | 30 lang=en |
31 cache_dir = %(here)s/data | |
32 | |
12 | 33 ################################################################################ |
34 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## | |
35 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## | |
36 ## execute malicious code after an exception is raised. ## | |
37 ################################################################################ | |
16 | 38 #set debug = false |
2 | 39 |
12 | 40 ################################ |
41 ### LOGGING CONFIGURATION #### | |
42 ################################ | |
2 | 43 [loggers] |
12 | 44 keys = root, routes, pylons_app, sqlalchemy |
2 | 45 |
46 [handlers] | |
12 | 47 keys = console |
2 | 48 |
49 [formatters] | |
50 keys = generic | |
51 | |
12 | 52 ############# |
2 | 53 ## LOGGERS ## |
12 | 54 ############# |
2 | 55 [logger_root] |
12 | 56 level = INFO |
57 handlers = console | |
2 | 58 |
59 [logger_routes] | |
60 level = INFO | |
12 | 61 handlers = console |
2 | 62 qualname = routes.middleware |
63 # "level = DEBUG" logs the route matched and routing variables. | |
64 | |
65 [logger_pylons_app] | |
66 level = DEBUG | |
12 | 67 handlers = console |
2 | 68 qualname = pylons_app |
69 | |
70 | |
12 | 71 [logger_sqlalchemy] |
72 level = DEBUG | |
73 handlers = console | |
74 qualname = sqlalchemy.engine | |
75 | |
76 ############## | |
2 | 77 ## HANDLERS ## |
12 | 78 ############## |
2 | 79 |
80 [handler_console] | |
81 class = StreamHandler | |
82 args = (sys.stderr,) | |
83 level = NOTSET | |
84 formatter = generic | |
85 | |
12 | 86 ################ |
2 | 87 ## FORMATTERS ## |
12 | 88 ################ |
2 | 89 |
90 [formatter_generic] | |
91 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | |
92 datefmt = %H:%M:%S | |
93 |