[Checkins] SVN: z3c.autoinclude/trunk/src/z3c/autoinclude/dependency.py Add verbosity to logging message.
Malthe Borch
cvs-admin at zope.org
Fri Oct 19 09:29:43 UTC 2012
Log message for revision 128070:
Add verbosity to logging message.
Changed:
U z3c.autoinclude/trunk/src/z3c/autoinclude/dependency.py
-=-
Modified: z3c.autoinclude/trunk/src/z3c/autoinclude/dependency.py
===================================================================
--- z3c.autoinclude/trunk/src/z3c/autoinclude/dependency.py 2012-10-19 09:21:37 UTC (rev 128069)
+++ z3c.autoinclude/trunk/src/z3c/autoinclude/dependency.py 2012-10-19 09:29:40 UTC (rev 128070)
@@ -25,7 +25,8 @@
try:
module = resolve(dotted_name)
except ImportError, exc:
- logging.warn(exc)
+ logging.getLogger("z3c.autoinclude").warn(
+ "resolve(%r) raised import error: %s" % (dotted_name, exc))
continue
for candidate in zcml_to_look_for:
candidate_path = os.path.join(
More information about the checkins
mailing list