Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(693)

Unified Diff: default.ini

Issue 48540043: Fix a bug that killed the worker.
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « charmworld/jobs/worker.py ('k') | scripts/ingest » ('j') | scripts/ingest » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: default.ini
=== modified file 'default.ini'
--- default.ini 2013-11-06 22:54:45 +0000
+++ default.ini 2014-01-07 16:38:00 +0000
@@ -73,10 +73,10 @@
# Begin logging configuration
[loggers]
-keys = root, charmworld
+keys = root, charm
rharding 2014/01/07 18:42:58 why the rename? the app is charmworld, it's the py
[handlers]
-keys = console, exc_smtp
+keys = console, exc_smtp, app_log
[formatters]
keys = generic, exception
@@ -85,10 +85,10 @@
level = INFO
handlers = console
-[logger_charmworld]
+[logger_charm]
level = DEBUG
-handlers =
-qualname = charmworld
+handlers = app_log
+qualname = charm
[handler_console]
class = StreamHandler
@@ -96,6 +96,12 @@
level = NOTSET
formatter = generic
+[handler_app_log]
+class = FileHandler
+args = ('/tmp/app.log', 'a')
+level = DEBUG
+formatter = generic
+
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
« no previous file with comments | « charmworld/jobs/worker.py ('k') | scripts/ingest » ('j') | scripts/ingest » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b