Yes that got me running, I know have in my website.ini
; format=F1 %(asctime)s %(levelname)s %(message)s
and I get some logging output in my paster.log
Very good tutorial by the way, this
Maybe it would be good to have this in the bfg docs ?
- I mean: just a basic example to get something running
and a link to this tutorial - no details of how to make
a more complicated configuration - or is it just me,
that didn't know of this "hidden feature" of PasteDeploy ?
On Wed, Oct 28, 2009 at 12:27:09PM -0400, Chris McDonough wrote:
> 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
> 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)
> 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.
> Andreas Reuleaux wrote:
Repoze-dev mailing list