On Wed, 2011-08-31 at 03:16 -0700, Dirk Makowski wrote:
> Hi all,
>
>
> about setting up logging for commandline scripts, the example given
> does not work. Instead of
> import logging
> logging.fileConfig('/path/to/my/development.ini')
> it should be
> import logging.config
> logging.config.fileConfig('/path/to/my/development.ini')
> At least for Python 2.7, am not sure about previous versions.
I've fixed it:
https://github.com/Pylons/pyramid/commit/6e3025d8d14dde9c442dae4c21bc76e57b452647
> Also was not sure whether to post this here or to file an issue for
> Pyramid on github, because it's not about code. What's you policy for
> this?
In the future, if you're interested in it, and you feel like
contributing, you can just fork the repository and create a pull
request.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.