|
a/Allura/development.ini |
|
b/Allura/development.ini |
|
... |
|
... |
271 |
# Add additional loggers, handlers, formatters here
|
271 |
# Add additional loggers, handlers, formatters here
|
272 |
# Uses python's logging config file format
|
272 |
# Uses python's logging config file format
|
273 |
# http://docs.python.org/lib/logging-config-fileformat.html
|
273 |
# http://docs.python.org/lib/logging-config-fileformat.html
|
274 |
|
274 |
|
275 |
[loggers]
|
275 |
[loggers]
|
276 |
keys = root, allura, sqlalchemy, paste, amqp, pylons
|
276 |
keys = root, allura, sqlalchemy, paste, amqp, pylons, taskdstatus
|
277 |
|
277 |
|
278 |
[handlers]
|
278 |
[handlers]
|
279 |
keys = console, stats
|
279 |
keys = console, stats, taskdstatus
|
280 |
|
280 |
|
281 |
[formatters]
|
281 |
[formatters]
|
282 |
keys = generic, stats
|
282 |
keys = generic, stats
|
283 |
|
283 |
|
284 |
# If you create additional loggers, add them as a key to [loggers]
|
284 |
# If you create additional loggers, add them as a key to [loggers]
|
|
... |
|
... |
311 |
|
311 |
|
312 |
[logger_pylons]
|
312 |
[logger_pylons]
|
313 |
level = INFO
|
313 |
level = INFO
|
314 |
qualname = pylons
|
314 |
qualname = pylons
|
315 |
handlers =
|
315 |
handlers =
|
|
|
316 |
|
|
|
317 |
[logger_taskdstatus]
|
|
|
318 |
level = INFO
|
|
|
319 |
qualname = taskdstatus
|
|
|
320 |
handlers = taskdstatus
|
316 |
|
321 |
|
317 |
# If you create additional handlers, add them as a key to [handlers]
|
322 |
# If you create additional handlers, add them as a key to [handlers]
|
318 |
[handler_console]
|
323 |
[handler_console]
|
319 |
class = StreamHandler
|
324 |
class = StreamHandler
|
320 |
args = (sys.stderr,)
|
325 |
args = (sys.stderr,)
|
|
... |
|
... |
325 |
class = allura.lib.utils.StatsHandler
|
330 |
class = allura.lib.utils.StatsHandler
|
326 |
args = ('rtstats.log', 'allura', 1)
|
331 |
args = ('rtstats.log', 'allura', 1)
|
327 |
level = NOTSET
|
332 |
level = NOTSET
|
328 |
formatter = stats
|
333 |
formatter = stats
|
329 |
|
334 |
|
|
|
335 |
[handler_taskdstatus]
|
|
|
336 |
class = handlers.WatchedFileHandler
|
|
|
337 |
args = ('/var/log/allura/taskd_status.log', 'a')
|
|
|
338 |
level = NOTSET
|
|
|
339 |
formatter = generic
|
|
|
340 |
|
330 |
# If you create additional formatters, add them as a key to [formatters]
|
341 |
# If you create additional formatters, add them as a key to [formatters]
|
331 |
[formatter_generic]
|
342 |
[formatter_generic]
|
332 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
343 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
333 |
datefmt = %H:%M:%S
|
344 |
datefmt = %H:%M:%S
|
334 |
|
345 |
|