##// END OF EJS Templates
added httponly and secure cookie into ini files
marcink -
r1714:1308f068 beta
parent child Browse files
Show More
@@ -1,258 +1,261 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 ################################################################################
15 ################################################################################
16 #email_to = admin@localhost
16 #email_to = admin@localhost
17 #error_email_from = paste_error@localhost
17 #error_email_from = paste_error@localhost
18 #app_email_from = rhodecode-noreply@localhost
18 #app_email_from = rhodecode-noreply@localhost
19 #error_message =
19 #error_message =
20
20
21 #smtp_server = mail.server.com
21 #smtp_server = mail.server.com
22 #smtp_username =
22 #smtp_username =
23 #smtp_password =
23 #smtp_password =
24 #smtp_port =
24 #smtp_port =
25 #smtp_use_tls = false
25 #smtp_use_tls = false
26 #smtp_use_ssl = true
26 #smtp_use_ssl = true
27 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
27 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 #smtp_auth =
28 #smtp_auth =
29
29
30 [server:main]
30 [server:main]
31 ##nr of threads to spawn
31 ##nr of threads to spawn
32 threadpool_workers = 5
32 threadpool_workers = 5
33
33
34 ##max request before thread respawn
34 ##max request before thread respawn
35 threadpool_max_requests = 6
35 threadpool_max_requests = 6
36
36
37 ##option to use threads of process
37 ##option to use threads of process
38 use_threadpool = true
38 use_threadpool = true
39
39
40 use = egg:Paste#http
40 use = egg:Paste#http
41 host = 0.0.0.0
41 host = 0.0.0.0
42 port = 5000
42 port = 5000
43
43
44 [app:main]
44 [app:main]
45 use = egg:rhodecode
45 use = egg:rhodecode
46 full_stack = true
46 full_stack = true
47 static_files = true
47 static_files = true
48 lang=en
48 lang=en
49 cache_dir = %(here)s/data
49 cache_dir = %(here)s/data
50 index_dir = %(here)s/data/index
50 index_dir = %(here)s/data/index
51 app_instance_uuid = develop
51 app_instance_uuid = develop
52 cut_off_limit = 256000
52 cut_off_limit = 256000
53 force_https = false
53 force_https = false
54 commit_parse_limit = 25
54 commit_parse_limit = 25
55 use_gravatar = true
55 use_gravatar = true
56 container_auth_enabled = false
56 container_auth_enabled = false
57 proxypass_auth_enabled = false
57 proxypass_auth_enabled = false
58
58
59 ## overwrite schema of clone url
59 ## overwrite schema of clone url
60 # available vars:
60 # available vars:
61 # scheme - http/https
61 # scheme - http/https
62 # user - current user
62 # user - current user
63 # pass - password
63 # pass - password
64 # netloc - network location
64 # netloc - network location
65 # path - usually repo_name
65 # path - usually repo_name
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
67
67
68 ####################################
68 ####################################
69 ### CELERY CONFIG ####
69 ### CELERY CONFIG ####
70 ####################################
70 ####################################
71 use_celery = false
71 use_celery = false
72 broker.host = localhost
72 broker.host = localhost
73 broker.vhost = rabbitmqhost
73 broker.vhost = rabbitmqhost
74 broker.port = 5672
74 broker.port = 5672
75 broker.user = rabbitmq
75 broker.user = rabbitmq
76 broker.password = qweqwe
76 broker.password = qweqwe
77
77
78 celery.imports = rhodecode.lib.celerylib.tasks
78 celery.imports = rhodecode.lib.celerylib.tasks
79
79
80 celery.result.backend = amqp
80 celery.result.backend = amqp
81 celery.result.dburi = amqp://
81 celery.result.dburi = amqp://
82 celery.result.serialier = json
82 celery.result.serialier = json
83
83
84 #celery.send.task.error.emails = true
84 #celery.send.task.error.emails = true
85 #celery.amqp.task.result.expires = 18000
85 #celery.amqp.task.result.expires = 18000
86
86
87 celeryd.concurrency = 2
87 celeryd.concurrency = 2
88 #celeryd.log.file = celeryd.log
88 #celeryd.log.file = celeryd.log
89 celeryd.log.level = debug
89 celeryd.log.level = debug
90 celeryd.max.tasks.per.child = 1
90 celeryd.max.tasks.per.child = 1
91
91
92 #tasks will never be sent to the queue, but executed locally instead.
92 #tasks will never be sent to the queue, but executed locally instead.
93 celery.always.eager = false
93 celery.always.eager = false
94
94
95 ####################################
95 ####################################
96 ### BEAKER CACHE ####
96 ### BEAKER CACHE ####
97 ####################################
97 ####################################
98 beaker.cache.data_dir=%(here)s/data/cache/data
98 beaker.cache.data_dir=%(here)s/data/cache/data
99 beaker.cache.lock_dir=%(here)s/data/cache/lock
99 beaker.cache.lock_dir=%(here)s/data/cache/lock
100
100
101 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
101 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
102
102
103 beaker.cache.super_short_term.type=memory
103 beaker.cache.super_short_term.type=memory
104 beaker.cache.super_short_term.expire=10
104 beaker.cache.super_short_term.expire=10
105 beaker.cache.super_short_term.key_length = 256
105 beaker.cache.super_short_term.key_length = 256
106
106
107 beaker.cache.short_term.type=memory
107 beaker.cache.short_term.type=memory
108 beaker.cache.short_term.expire=60
108 beaker.cache.short_term.expire=60
109 beaker.cache.short_term.key_length = 256
109 beaker.cache.short_term.key_length = 256
110
110
111 beaker.cache.long_term.type=memory
111 beaker.cache.long_term.type=memory
112 beaker.cache.long_term.expire=36000
112 beaker.cache.long_term.expire=36000
113 beaker.cache.long_term.key_length = 256
113 beaker.cache.long_term.key_length = 256
114
114
115 beaker.cache.sql_cache_short.type=memory
115 beaker.cache.sql_cache_short.type=memory
116 beaker.cache.sql_cache_short.expire=10
116 beaker.cache.sql_cache_short.expire=10
117 beaker.cache.sql_cache_short.key_length = 256
117 beaker.cache.sql_cache_short.key_length = 256
118
118
119 beaker.cache.sql_cache_med.type=memory
119 beaker.cache.sql_cache_med.type=memory
120 beaker.cache.sql_cache_med.expire=360
120 beaker.cache.sql_cache_med.expire=360
121 beaker.cache.sql_cache_med.key_length = 256
121 beaker.cache.sql_cache_med.key_length = 256
122
122
123 beaker.cache.sql_cache_long.type=file
123 beaker.cache.sql_cache_long.type=file
124 beaker.cache.sql_cache_long.expire=3600
124 beaker.cache.sql_cache_long.expire=3600
125 beaker.cache.sql_cache_long.key_length = 256
125 beaker.cache.sql_cache_long.key_length = 256
126
126
127 ####################################
127 ####################################
128 ### BEAKER SESSION ####
128 ### BEAKER SESSION ####
129 ####################################
129 ####################################
130 ## Type of storage used for the session, current types are
130 ## Type of storage used for the session, current types are
131 ## dbm, file, memcached, database, and memory.
131 ## dbm, file, memcached, database, and memory.
132 ## The storage uses the Container API
132 ## The storage uses the Container API
133 ##that is also used by the cache system.
133 ##that is also used by the cache system.
134
134
135 #db session example
135 #db session example
136 #beaker.session.type = ext:database
136 #beaker.session.type = ext:database
137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
138 #beaker.session.table_name = db_session
138 #beaker.session.table_name = db_session
139
139
140 beaker.session.type = cookie
140 beaker.session.type = cookie
141 beaker.session.key = rhodecode
141 beaker.session.key = rhodecode
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 beaker.session.validate_key = 9712sds2212c--zxc123
143 beaker.session.validate_key = 9712sds2212c--zxc123
144 beaker.session.timeout = 36000
144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145
148
146 ##auto save the session to not to use .save()
149 ##auto save the session to not to use .save()
147 beaker.session.auto = False
150 beaker.session.auto = False
148
151
149 ##true exire at browser close
152 ##true exire at browser close
150 #beaker.session.cookie_expires = 3600
153 #beaker.session.cookie_expires = 3600
151
154
152
155
153 ################################################################################
156 ################################################################################
154 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
157 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
155 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
158 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
156 ## execute malicious code after an exception is raised. ##
159 ## execute malicious code after an exception is raised. ##
157 ################################################################################
160 ################################################################################
158 #set debug = false
161 #set debug = false
159
162
160 ##################################
163 ##################################
161 ### LOGVIEW CONFIG ###
164 ### LOGVIEW CONFIG ###
162 ##################################
165 ##################################
163 logview.sqlalchemy = #faa
166 logview.sqlalchemy = #faa
164 logview.pylons.templating = #bfb
167 logview.pylons.templating = #bfb
165 logview.pylons.util = #eee
168 logview.pylons.util = #eee
166
169
167 #########################################################
170 #########################################################
168 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
171 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
169 #########################################################
172 #########################################################
170 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
173 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
171 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
174 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
172 sqlalchemy.db1.echo = false
175 sqlalchemy.db1.echo = false
173 sqlalchemy.db1.pool_recycle = 3600
176 sqlalchemy.db1.pool_recycle = 3600
174 sqlalchemy.convert_unicode = true
177 sqlalchemy.convert_unicode = true
175
178
176 ################################
179 ################################
177 ### LOGGING CONFIGURATION ####
180 ### LOGGING CONFIGURATION ####
178 ################################
181 ################################
179 [loggers]
182 [loggers]
180 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
183 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
181
184
182 [handlers]
185 [handlers]
183 keys = console, console_sql
186 keys = console, console_sql
184
187
185 [formatters]
188 [formatters]
186 keys = generic, color_formatter, color_formatter_sql
189 keys = generic, color_formatter, color_formatter_sql
187
190
188 #############
191 #############
189 ## LOGGERS ##
192 ## LOGGERS ##
190 #############
193 #############
191 [logger_root]
194 [logger_root]
192 level = NOTSET
195 level = NOTSET
193 handlers = console
196 handlers = console
194
197
195 [logger_routes]
198 [logger_routes]
196 level = DEBUG
199 level = DEBUG
197 handlers =
200 handlers =
198 qualname = routes.middleware
201 qualname = routes.middleware
199 # "level = DEBUG" logs the route matched and routing variables.
202 # "level = DEBUG" logs the route matched and routing variables.
200 propagate = 1
203 propagate = 1
201
204
202 [logger_beaker]
205 [logger_beaker]
203 level = DEBUG
206 level = DEBUG
204 handlers =
207 handlers =
205 qualname = beaker.container
208 qualname = beaker.container
206 propagate = 1
209 propagate = 1
207
210
208 [logger_templates]
211 [logger_templates]
209 level = INFO
212 level = INFO
210 handlers =
213 handlers =
211 qualname = pylons.templating
214 qualname = pylons.templating
212 propagate = 1
215 propagate = 1
213
216
214 [logger_rhodecode]
217 [logger_rhodecode]
215 level = DEBUG
218 level = DEBUG
216 handlers =
219 handlers =
217 qualname = rhodecode
220 qualname = rhodecode
218 propagate = 1
221 propagate = 1
219
222
220 [logger_sqlalchemy]
223 [logger_sqlalchemy]
221 level = INFO
224 level = INFO
222 handlers = console_sql
225 handlers = console_sql
223 qualname = sqlalchemy.engine
226 qualname = sqlalchemy.engine
224 propagate = 0
227 propagate = 0
225
228
226 ##############
229 ##############
227 ## HANDLERS ##
230 ## HANDLERS ##
228 ##############
231 ##############
229
232
230 [handler_console]
233 [handler_console]
231 class = StreamHandler
234 class = StreamHandler
232 args = (sys.stderr,)
235 args = (sys.stderr,)
233 level = DEBUG
236 level = DEBUG
234 formatter = color_formatter
237 formatter = color_formatter
235
238
236 [handler_console_sql]
239 [handler_console_sql]
237 class = StreamHandler
240 class = StreamHandler
238 args = (sys.stderr,)
241 args = (sys.stderr,)
239 level = DEBUG
242 level = DEBUG
240 formatter = color_formatter_sql
243 formatter = color_formatter_sql
241
244
242 ################
245 ################
243 ## FORMATTERS ##
246 ## FORMATTERS ##
244 ################
247 ################
245
248
246 [formatter_generic]
249 [formatter_generic]
247 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
250 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
248 datefmt = %Y-%m-%d %H:%M:%S
251 datefmt = %Y-%m-%d %H:%M:%S
249
252
250 [formatter_color_formatter]
253 [formatter_color_formatter]
251 class=rhodecode.lib.colored_formatter.ColorFormatter
254 class=rhodecode.lib.colored_formatter.ColorFormatter
252 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
255 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
253 datefmt = %Y-%m-%d %H:%M:%S
256 datefmt = %Y-%m-%d %H:%M:%S
254
257
255 [formatter_color_formatter_sql]
258 [formatter_color_formatter_sql]
256 class=rhodecode.lib.colored_formatter.ColorFormatterSql
259 class=rhodecode.lib.colored_formatter.ColorFormatterSql
257 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
260 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
258 datefmt = %Y-%m-%d %H:%M:%S
261 datefmt = %Y-%m-%d %H:%M:%S
@@ -1,258 +1,261 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 ################################################################################
15 ################################################################################
16 #email_to = admin@localhost
16 #email_to = admin@localhost
17 #error_email_from = paste_error@localhost
17 #error_email_from = paste_error@localhost
18 #app_email_from = rhodecode-noreply@localhost
18 #app_email_from = rhodecode-noreply@localhost
19 #error_message =
19 #error_message =
20
20
21 #smtp_server = mail.server.com
21 #smtp_server = mail.server.com
22 #smtp_username =
22 #smtp_username =
23 #smtp_password =
23 #smtp_password =
24 #smtp_port =
24 #smtp_port =
25 #smtp_use_tls = false
25 #smtp_use_tls = false
26 #smtp_use_ssl = true
26 #smtp_use_ssl = true
27 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
27 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 #smtp_auth =
28 #smtp_auth =
29
29
30 [server:main]
30 [server:main]
31 ##nr of threads to spawn
31 ##nr of threads to spawn
32 threadpool_workers = 5
32 threadpool_workers = 5
33
33
34 ##max request before thread respawn
34 ##max request before thread respawn
35 threadpool_max_requests = 10
35 threadpool_max_requests = 10
36
36
37 ##option to use threads of process
37 ##option to use threads of process
38 use_threadpool = true
38 use_threadpool = true
39
39
40 use = egg:Paste#http
40 use = egg:Paste#http
41 host = 127.0.0.1
41 host = 127.0.0.1
42 port = 8001
42 port = 8001
43
43
44 [app:main]
44 [app:main]
45 use = egg:rhodecode
45 use = egg:rhodecode
46 full_stack = true
46 full_stack = true
47 static_files = true
47 static_files = true
48 lang=en
48 lang=en
49 cache_dir = %(here)s/data
49 cache_dir = %(here)s/data
50 index_dir = %(here)s/data/index
50 index_dir = %(here)s/data/index
51 app_instance_uuid = prod1234
51 app_instance_uuid = prod1234
52 cut_off_limit = 256000
52 cut_off_limit = 256000
53 force_https = false
53 force_https = false
54 commit_parse_limit = 50
54 commit_parse_limit = 50
55 use_gravatar = true
55 use_gravatar = true
56 container_auth_enabled = false
56 container_auth_enabled = false
57 proxypass_auth_enabled = false
57 proxypass_auth_enabled = false
58
58
59 ## overwrite schema of clone url
59 ## overwrite schema of clone url
60 # available vars:
60 # available vars:
61 # scheme - http/https
61 # scheme - http/https
62 # user - current user
62 # user - current user
63 # pass - password
63 # pass - password
64 # netloc - network location
64 # netloc - network location
65 # path - usually repo_name
65 # path - usually repo_name
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
67
67
68 ####################################
68 ####################################
69 ### CELERY CONFIG ####
69 ### CELERY CONFIG ####
70 ####################################
70 ####################################
71 use_celery = false
71 use_celery = false
72 broker.host = localhost
72 broker.host = localhost
73 broker.vhost = rabbitmqhost
73 broker.vhost = rabbitmqhost
74 broker.port = 5672
74 broker.port = 5672
75 broker.user = rabbitmq
75 broker.user = rabbitmq
76 broker.password = qweqwe
76 broker.password = qweqwe
77
77
78 celery.imports = rhodecode.lib.celerylib.tasks
78 celery.imports = rhodecode.lib.celerylib.tasks
79
79
80 celery.result.backend = amqp
80 celery.result.backend = amqp
81 celery.result.dburi = amqp://
81 celery.result.dburi = amqp://
82 celery.result.serialier = json
82 celery.result.serialier = json
83
83
84 #celery.send.task.error.emails = true
84 #celery.send.task.error.emails = true
85 #celery.amqp.task.result.expires = 18000
85 #celery.amqp.task.result.expires = 18000
86
86
87 celeryd.concurrency = 2
87 celeryd.concurrency = 2
88 #celeryd.log.file = celeryd.log
88 #celeryd.log.file = celeryd.log
89 celeryd.log.level = debug
89 celeryd.log.level = debug
90 celeryd.max.tasks.per.child = 1
90 celeryd.max.tasks.per.child = 1
91
91
92 #tasks will never be sent to the queue, but executed locally instead.
92 #tasks will never be sent to the queue, but executed locally instead.
93 celery.always.eager = false
93 celery.always.eager = false
94
94
95 ####################################
95 ####################################
96 ### BEAKER CACHE ####
96 ### BEAKER CACHE ####
97 ####################################
97 ####################################
98 beaker.cache.data_dir=%(here)s/data/cache/data
98 beaker.cache.data_dir=%(here)s/data/cache/data
99 beaker.cache.lock_dir=%(here)s/data/cache/lock
99 beaker.cache.lock_dir=%(here)s/data/cache/lock
100
100
101 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
101 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
102
102
103 beaker.cache.super_short_term.type=memory
103 beaker.cache.super_short_term.type=memory
104 beaker.cache.super_short_term.expire=10
104 beaker.cache.super_short_term.expire=10
105 beaker.cache.super_short_term.key_length = 256
105 beaker.cache.super_short_term.key_length = 256
106
106
107 beaker.cache.short_term.type=memory
107 beaker.cache.short_term.type=memory
108 beaker.cache.short_term.expire=60
108 beaker.cache.short_term.expire=60
109 beaker.cache.short_term.key_length = 256
109 beaker.cache.short_term.key_length = 256
110
110
111 beaker.cache.long_term.type=memory
111 beaker.cache.long_term.type=memory
112 beaker.cache.long_term.expire=36000
112 beaker.cache.long_term.expire=36000
113 beaker.cache.long_term.key_length = 256
113 beaker.cache.long_term.key_length = 256
114
114
115 beaker.cache.sql_cache_short.type=memory
115 beaker.cache.sql_cache_short.type=memory
116 beaker.cache.sql_cache_short.expire=10
116 beaker.cache.sql_cache_short.expire=10
117 beaker.cache.sql_cache_short.key_length = 256
117 beaker.cache.sql_cache_short.key_length = 256
118
118
119 beaker.cache.sql_cache_med.type=memory
119 beaker.cache.sql_cache_med.type=memory
120 beaker.cache.sql_cache_med.expire=360
120 beaker.cache.sql_cache_med.expire=360
121 beaker.cache.sql_cache_med.key_length = 256
121 beaker.cache.sql_cache_med.key_length = 256
122
122
123 beaker.cache.sql_cache_long.type=file
123 beaker.cache.sql_cache_long.type=file
124 beaker.cache.sql_cache_long.expire=3600
124 beaker.cache.sql_cache_long.expire=3600
125 beaker.cache.sql_cache_long.key_length = 256
125 beaker.cache.sql_cache_long.key_length = 256
126
126
127 ####################################
127 ####################################
128 ### BEAKER SESSION ####
128 ### BEAKER SESSION ####
129 ####################################
129 ####################################
130 ## Type of storage used for the session, current types are
130 ## Type of storage used for the session, current types are
131 ## dbm, file, memcached, database, and memory.
131 ## dbm, file, memcached, database, and memory.
132 ## The storage uses the Container API
132 ## The storage uses the Container API
133 ##that is also used by the cache system.
133 ##that is also used by the cache system.
134
134
135 #db session example
135 #db session example
136 #beaker.session.type = ext:database
136 #beaker.session.type = ext:database
137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
138 #beaker.session.table_name = db_session
138 #beaker.session.table_name = db_session
139
139
140 beaker.session.type = cookie
140 beaker.session.type = cookie
141 beaker.session.key = rhodecode
141 beaker.session.key = rhodecode
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 beaker.session.validate_key = 9712sds2212c--zxc123
143 beaker.session.validate_key = 9712sds2212c--zxc123
144 beaker.session.timeout = 36000
144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145
148
146 ##auto save the session to not to use .save()
149 ##auto save the session to not to use .save()
147 beaker.session.auto = False
150 beaker.session.auto = False
148
151
149 ##true exire at browser close
152 ##true exire at browser close
150 #beaker.session.cookie_expires = 3600
153 #beaker.session.cookie_expires = 3600
151
154
152
155
153 ################################################################################
156 ################################################################################
154 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
157 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
155 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
158 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
156 ## execute malicious code after an exception is raised. ##
159 ## execute malicious code after an exception is raised. ##
157 ################################################################################
160 ################################################################################
158 set debug = false
161 set debug = false
159
162
160 ##################################
163 ##################################
161 ### LOGVIEW CONFIG ###
164 ### LOGVIEW CONFIG ###
162 ##################################
165 ##################################
163 logview.sqlalchemy = #faa
166 logview.sqlalchemy = #faa
164 logview.pylons.templating = #bfb
167 logview.pylons.templating = #bfb
165 logview.pylons.util = #eee
168 logview.pylons.util = #eee
166
169
167 #########################################################
170 #########################################################
168 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
171 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
169 #########################################################
172 #########################################################
170 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
173 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
171 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
174 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
172 sqlalchemy.db1.echo = false
175 sqlalchemy.db1.echo = false
173 sqlalchemy.db1.pool_recycle = 3600
176 sqlalchemy.db1.pool_recycle = 3600
174 sqlalchemy.convert_unicode = true
177 sqlalchemy.convert_unicode = true
175
178
176 ################################
179 ################################
177 ### LOGGING CONFIGURATION ####
180 ### LOGGING CONFIGURATION ####
178 ################################
181 ################################
179 [loggers]
182 [loggers]
180 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
183 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
181
184
182 [handlers]
185 [handlers]
183 keys = console, console_sql
186 keys = console, console_sql
184
187
185 [formatters]
188 [formatters]
186 keys = generic, color_formatter, color_formatter_sql
189 keys = generic, color_formatter, color_formatter_sql
187
190
188 #############
191 #############
189 ## LOGGERS ##
192 ## LOGGERS ##
190 #############
193 #############
191 [logger_root]
194 [logger_root]
192 level = NOTSET
195 level = NOTSET
193 handlers = console
196 handlers = console
194
197
195 [logger_routes]
198 [logger_routes]
196 level = DEBUG
199 level = DEBUG
197 handlers =
200 handlers =
198 qualname = routes.middleware
201 qualname = routes.middleware
199 # "level = DEBUG" logs the route matched and routing variables.
202 # "level = DEBUG" logs the route matched and routing variables.
200 propagate = 1
203 propagate = 1
201
204
202 [logger_beaker]
205 [logger_beaker]
203 level = DEBUG
206 level = DEBUG
204 handlers =
207 handlers =
205 qualname = beaker.container
208 qualname = beaker.container
206 propagate = 1
209 propagate = 1
207
210
208 [logger_templates]
211 [logger_templates]
209 level = INFO
212 level = INFO
210 handlers =
213 handlers =
211 qualname = pylons.templating
214 qualname = pylons.templating
212 propagate = 1
215 propagate = 1
213
216
214 [logger_rhodecode]
217 [logger_rhodecode]
215 level = DEBUG
218 level = DEBUG
216 handlers =
219 handlers =
217 qualname = rhodecode
220 qualname = rhodecode
218 propagate = 1
221 propagate = 1
219
222
220 [logger_sqlalchemy]
223 [logger_sqlalchemy]
221 level = INFO
224 level = INFO
222 handlers = console_sql
225 handlers = console_sql
223 qualname = sqlalchemy.engine
226 qualname = sqlalchemy.engine
224 propagate = 0
227 propagate = 0
225
228
226 ##############
229 ##############
227 ## HANDLERS ##
230 ## HANDLERS ##
228 ##############
231 ##############
229
232
230 [handler_console]
233 [handler_console]
231 class = StreamHandler
234 class = StreamHandler
232 args = (sys.stderr,)
235 args = (sys.stderr,)
233 level = INFO
236 level = INFO
234 formatter = generic
237 formatter = generic
235
238
236 [handler_console_sql]
239 [handler_console_sql]
237 class = StreamHandler
240 class = StreamHandler
238 args = (sys.stderr,)
241 args = (sys.stderr,)
239 level = WARN
242 level = WARN
240 formatter = generic
243 formatter = generic
241
244
242 ################
245 ################
243 ## FORMATTERS ##
246 ## FORMATTERS ##
244 ################
247 ################
245
248
246 [formatter_generic]
249 [formatter_generic]
247 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
250 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
248 datefmt = %Y-%m-%d %H:%M:%S
251 datefmt = %Y-%m-%d %H:%M:%S
249
252
250 [formatter_color_formatter]
253 [formatter_color_formatter]
251 class=rhodecode.lib.colored_formatter.ColorFormatter
254 class=rhodecode.lib.colored_formatter.ColorFormatter
252 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
255 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
253 datefmt = %Y-%m-%d %H:%M:%S
256 datefmt = %Y-%m-%d %H:%M:%S
254
257
255 [formatter_color_formatter_sql]
258 [formatter_color_formatter_sql]
256 class=rhodecode.lib.colored_formatter.ColorFormatterSql
259 class=rhodecode.lib.colored_formatter.ColorFormatterSql
257 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
260 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
258 datefmt = %Y-%m-%d %H:%M:%S No newline at end of file
261 datefmt = %Y-%m-%d %H:%M:%S
@@ -1,267 +1,271 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 ################################################################################
15 ################################################################################
16 #email_to = admin@localhost
16 #email_to = admin@localhost
17 #error_email_from = paste_error@localhost
17 #error_email_from = paste_error@localhost
18 #app_email_from = rhodecode-noreply@localhost
18 #app_email_from = rhodecode-noreply@localhost
19 #error_message =
19 #error_message =
20
20
21 #smtp_server = mail.server.com
21 #smtp_server = mail.server.com
22 #smtp_username =
22 #smtp_username =
23 #smtp_password =
23 #smtp_password =
24 #smtp_port =
24 #smtp_port =
25 #smtp_use_tls = false
25 #smtp_use_tls = false
26 #smtp_use_ssl = true
26 #smtp_use_ssl = true
27 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
27 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 #smtp_auth =
28 #smtp_auth =
29
29
30 [server:main]
30 [server:main]
31 ##nr of threads to spawn
31 ##nr of threads to spawn
32 threadpool_workers = 5
32 threadpool_workers = 5
33
33
34 ##max request before thread respawn
34 ##max request before thread respawn
35 threadpool_max_requests = 10
35 threadpool_max_requests = 10
36
36
37 ##option to use threads of process
37 ##option to use threads of process
38 use_threadpool = true
38 use_threadpool = true
39
39
40 use = egg:Paste#http
40 use = egg:Paste#http
41 host = 127.0.0.1
41 host = 127.0.0.1
42 port = 5000
42 port = 5000
43
43
44 [app:main]
44 [app:main]
45 use = egg:rhodecode
45 use = egg:rhodecode
46 full_stack = true
46 full_stack = true
47 static_files = true
47 static_files = true
48 lang=en
48 lang=en
49 cache_dir = %(here)s/data
49 cache_dir = %(here)s/data
50 index_dir = %(here)s/data/index
50 index_dir = %(here)s/data/index
51 app_instance_uuid = ${app_instance_uuid}
51 app_instance_uuid = ${app_instance_uuid}
52 cut_off_limit = 256000
52 cut_off_limit = 256000
53 force_https = false
53 force_https = false
54 commit_parse_limit = 50
54 commit_parse_limit = 50
55 use_gravatar = true
55 use_gravatar = true
56 container_auth_enabled = false
56 container_auth_enabled = false
57 proxypass_auth_enabled = false
57 proxypass_auth_enabled = false
58
58
59 ## overwrite schema of clone url
59 ## overwrite schema of clone url
60 # available vars:
60 # available vars:
61 # scheme - http/https
61 # scheme - http/https
62 # user - current user
62 # user - current user
63 # pass - password
63 # pass - password
64 # netloc - network location
64 # netloc - network location
65 # path - usually repo_name
65 # path - usually repo_name
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
66 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
67
67
68 ####################################
68 ####################################
69 ### CELERY CONFIG ####
69 ### CELERY CONFIG ####
70 ####################################
70 ####################################
71 use_celery = false
71 use_celery = false
72 broker.host = localhost
72 broker.host = localhost
73 broker.vhost = rabbitmqhost
73 broker.vhost = rabbitmqhost
74 broker.port = 5672
74 broker.port = 5672
75 broker.user = rabbitmq
75 broker.user = rabbitmq
76 broker.password = qweqwe
76 broker.password = qweqwe
77
77
78 celery.imports = rhodecode.lib.celerylib.tasks
78 celery.imports = rhodecode.lib.celerylib.tasks
79
79
80 celery.result.backend = amqp
80 celery.result.backend = amqp
81 celery.result.dburi = amqp://
81 celery.result.dburi = amqp://
82 celery.result.serialier = json
82 celery.result.serialier = json
83
83
84 #celery.send.task.error.emails = true
84 #celery.send.task.error.emails = true
85 #celery.amqp.task.result.expires = 18000
85 #celery.amqp.task.result.expires = 18000
86
86
87 celeryd.concurrency = 2
87 celeryd.concurrency = 2
88 #celeryd.log.file = celeryd.log
88 #celeryd.log.file = celeryd.log
89 celeryd.log.level = debug
89 celeryd.log.level = debug
90 celeryd.max.tasks.per.child = 1
90 celeryd.max.tasks.per.child = 1
91
91
92 #tasks will never be sent to the queue, but executed locally instead.
92 #tasks will never be sent to the queue, but executed locally instead.
93 celery.always.eager = false
93 celery.always.eager = false
94
94
95 ####################################
95 ####################################
96 ### BEAKER CACHE ####
96 ### BEAKER CACHE ####
97 ####################################
97 ####################################
98 beaker.cache.data_dir=%(here)s/data/cache/data
98 beaker.cache.data_dir=%(here)s/data/cache/data
99 beaker.cache.lock_dir=%(here)s/data/cache/lock
99 beaker.cache.lock_dir=%(here)s/data/cache/lock
100
100
101 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
101 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
102
102
103 beaker.cache.super_short_term.type=memory
103 beaker.cache.super_short_term.type=memory
104 beaker.cache.super_short_term.expire=10
104 beaker.cache.super_short_term.expire=10
105 beaker.cache.super_short_term.key_length = 256
105 beaker.cache.super_short_term.key_length = 256
106
106
107 beaker.cache.short_term.type=memory
107 beaker.cache.short_term.type=memory
108 beaker.cache.short_term.expire=60
108 beaker.cache.short_term.expire=60
109 beaker.cache.short_term.key_length = 256
109 beaker.cache.short_term.key_length = 256
110
110
111 beaker.cache.long_term.type=memory
111 beaker.cache.long_term.type=memory
112 beaker.cache.long_term.expire=36000
112 beaker.cache.long_term.expire=36000
113 beaker.cache.long_term.key_length = 256
113 beaker.cache.long_term.key_length = 256
114
114
115 beaker.cache.sql_cache_short.type=memory
115 beaker.cache.sql_cache_short.type=memory
116 beaker.cache.sql_cache_short.expire=10
116 beaker.cache.sql_cache_short.expire=10
117 beaker.cache.sql_cache_short.key_length = 256
117 beaker.cache.sql_cache_short.key_length = 256
118
118
119 beaker.cache.sql_cache_med.type=memory
119 beaker.cache.sql_cache_med.type=memory
120 beaker.cache.sql_cache_med.expire=360
120 beaker.cache.sql_cache_med.expire=360
121 beaker.cache.sql_cache_med.key_length = 256
121 beaker.cache.sql_cache_med.key_length = 256
122
122
123 beaker.cache.sql_cache_long.type=file
123 beaker.cache.sql_cache_long.type=file
124 beaker.cache.sql_cache_long.expire=3600
124 beaker.cache.sql_cache_long.expire=3600
125 beaker.cache.sql_cache_long.key_length = 256
125 beaker.cache.sql_cache_long.key_length = 256
126
126
127 ####################################
127 ####################################
128 ### BEAKER SESSION ####
128 ### BEAKER SESSION ####
129 ####################################
129 ####################################
130 ## Type of storage used for the session, current types are
130 ## Type of storage used for the session, current types are
131 ## dbm, file, memcached, database, and memory.
131 ## dbm, file, memcached, database, and memory.
132 ## The storage uses the Container API
132 ## The storage uses the Container API
133 ##that is also used by the cache system.
133 ##that is also used by the cache system.
134
134
135 #db session example
135 #db session example
136 #beaker.session.type = ext:database
136 #beaker.session.type = ext:database
137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
137 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
138 #beaker.session.table_name = db_session
138 #beaker.session.table_name = db_session
139
139
140 beaker.session.type = cookie
140 beaker.session.type = cookie
141 beaker.session.key = rhodecode
141 beaker.session.key = rhodecode
142 beaker.session.encrypt_key = ${app_instance_secret}
142 beaker.session.encrypt_key = ${app_instance_secret}
143 beaker.session.validate_key = ${app_instance_secret}
143 beaker.session.validate_key = ${app_instance_secret}
144 beaker.session.timeout = 36000
144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145
148
146 ##auto save the session to not to use .save()
149 ##auto save the session to not to use .save()
147 beaker.session.auto = False
150 beaker.session.auto = False
148
151
149 ##true exire at browser close
152 ##true exire at browser close
150 #beaker.session.cookie_expires = 3600
153 #beaker.session.cookie_expires = 3600
151
154
155
152 ################################################################################
156 ################################################################################
153 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
157 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
154 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
158 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
155 ## execute malicious code after an exception is raised. ##
159 ## execute malicious code after an exception is raised. ##
156 ################################################################################
160 ################################################################################
157 set debug = false
161 set debug = false
158
162
159 ##################################
163 ##################################
160 ### LOGVIEW CONFIG ###
164 ### LOGVIEW CONFIG ###
161 ##################################
165 ##################################
162 logview.sqlalchemy = #faa
166 logview.sqlalchemy = #faa
163 logview.pylons.templating = #bfb
167 logview.pylons.templating = #bfb
164 logview.pylons.util = #eee
168 logview.pylons.util = #eee
165
169
166 #########################################################
170 #########################################################
167 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
171 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
168 #########################################################
172 #########################################################
169
173
170 # SQLITE [default]
174 # SQLITE [default]
171 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
175 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
172
176
173 # POSTGRESQL
177 # POSTGRESQL
174 # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
178 # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
175
179
176 # MySQL
180 # MySQL
177 # sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode
181 # sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode
178
182
179 # see sqlalchemy docs for others
183 # see sqlalchemy docs for others
180
184
181 sqlalchemy.db1.echo = false
185 sqlalchemy.db1.echo = false
182 sqlalchemy.db1.pool_recycle = 3600
186 sqlalchemy.db1.pool_recycle = 3600
183 sqlalchemy.convert_unicode = true
187 sqlalchemy.convert_unicode = true
184
188
185 ################################
189 ################################
186 ### LOGGING CONFIGURATION ####
190 ### LOGGING CONFIGURATION ####
187 ################################
191 ################################
188 [loggers]
192 [loggers]
189 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
193 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
190
194
191 [handlers]
195 [handlers]
192 keys = console, console_sql
196 keys = console, console_sql
193
197
194 [formatters]
198 [formatters]
195 keys = generic, color_formatter, color_formatter_sql
199 keys = generic, color_formatter, color_formatter_sql
196
200
197 #############
201 #############
198 ## LOGGERS ##
202 ## LOGGERS ##
199 #############
203 #############
200 [logger_root]
204 [logger_root]
201 level = NOTSET
205 level = NOTSET
202 handlers = console
206 handlers = console
203
207
204 [logger_routes]
208 [logger_routes]
205 level = DEBUG
209 level = DEBUG
206 handlers =
210 handlers =
207 qualname = routes.middleware
211 qualname = routes.middleware
208 # "level = DEBUG" logs the route matched and routing variables.
212 # "level = DEBUG" logs the route matched and routing variables.
209 propagate = 1
213 propagate = 1
210
214
211 [logger_beaker]
215 [logger_beaker]
212 level = DEBUG
216 level = DEBUG
213 handlers =
217 handlers =
214 qualname = beaker.container
218 qualname = beaker.container
215 propagate = 1
219 propagate = 1
216
220
217 [logger_templates]
221 [logger_templates]
218 level = INFO
222 level = INFO
219 handlers =
223 handlers =
220 qualname = pylons.templating
224 qualname = pylons.templating
221 propagate = 1
225 propagate = 1
222
226
223 [logger_rhodecode]
227 [logger_rhodecode]
224 level = DEBUG
228 level = DEBUG
225 handlers =
229 handlers =
226 qualname = rhodecode
230 qualname = rhodecode
227 propagate = 1
231 propagate = 1
228
232
229 [logger_sqlalchemy]
233 [logger_sqlalchemy]
230 level = INFO
234 level = INFO
231 handlers = console_sql
235 handlers = console_sql
232 qualname = sqlalchemy.engine
236 qualname = sqlalchemy.engine
233 propagate = 0
237 propagate = 0
234
238
235 ##############
239 ##############
236 ## HANDLERS ##
240 ## HANDLERS ##
237 ##############
241 ##############
238
242
239 [handler_console]
243 [handler_console]
240 class = StreamHandler
244 class = StreamHandler
241 args = (sys.stderr,)
245 args = (sys.stderr,)
242 level = INFO
246 level = INFO
243 formatter = color_formatter
247 formatter = color_formatter
244
248
245 [handler_console_sql]
249 [handler_console_sql]
246 class = StreamHandler
250 class = StreamHandler
247 args = (sys.stderr,)
251 args = (sys.stderr,)
248 level = WARN
252 level = WARN
249 formatter = color_formatter_sql
253 formatter = color_formatter_sql
250
254
251 ################
255 ################
252 ## FORMATTERS ##
256 ## FORMATTERS ##
253 ################
257 ################
254
258
255 [formatter_generic]
259 [formatter_generic]
256 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
260 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
257 datefmt = %Y-%m-%d %H:%M:%S
261 datefmt = %Y-%m-%d %H:%M:%S
258
262
259 [formatter_color_formatter]
263 [formatter_color_formatter]
260 class=rhodecode.lib.colored_formatter.ColorFormatter
264 class=rhodecode.lib.colored_formatter.ColorFormatter
261 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
265 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
262 datefmt = %Y-%m-%d %H:%M:%S
266 datefmt = %Y-%m-%d %H:%M:%S
263
267
264 [formatter_color_formatter_sql]
268 [formatter_color_formatter_sql]
265 class=rhodecode.lib.colored_formatter.ColorFormatterSql
269 class=rhodecode.lib.colored_formatter.ColorFormatterSql
266 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
270 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
267 datefmt = %Y-%m-%d %H:%M:%S No newline at end of file
271 datefmt = %Y-%m-%d %H:%M:%S
General Comments 0
You need to be logged in to leave comments. Login now