Hi all,
about setting up
logging<https://docs.pylonsproject.org/projects/pyramid/1.1/narr/commandline.html#setting-up-logging>for
commandline scripts, the example given does not work. Instead of
import logginglogging.fileConfig('/path/to/my/development.ini')
it should be
import logging.configlogging.config.fileConfig('/path/to/my/development.ini')
At least for Python 2.7, am not sure about previous versions.
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?
Regards, Dirk
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/YQzC2D4Jfs4J.
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.