[Checkins] SVN: zopyx.smartprintng.server/trunk/misc.txt unsorted material
Andreas Jung
andreas at andreas-jung.com
Thu Oct 29 04:12:06 EDT 2009
Log message for revision 105347:
unsorted material
Changed:
A zopyx.smartprintng.server/trunk/misc.txt
-=-
Added: zopyx.smartprintng.server/trunk/misc.txt
===================================================================
--- zopyx.smartprintng.server/trunk/misc.txt (rev 0)
+++ zopyx.smartprintng.server/trunk/misc.txt 2009-10-29 08:12:05 UTC (rev 105347)
@@ -0,0 +1,9 @@
+Logging in repoze.bfg
+
+A "hidden feature" of PasteDeploy (the package which defines the .ini format
+for a BFG <package>.ini file) is that you can just inject something in the .ini
+format found at e.g. http://www.red-dove.com/python_logging.html#config into
+the BFG app .ini file (literally just paste it in to the BFG app .ini file) and
+PasteDeploy will configure the logging module. Then you can use the logging
+API to log to the loggers you've defined in the BFG config file.
+
More information about the checkins
mailing list