This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Marc.Abramowitz
Recipients Marc.Abramowitz, doughellmann, eric.araujo, eric.smith, exarkun, georg.brandl, michael.foord, ncoghlan, pitrou, r.david.murray, theller, vinay.sajip
Date 2016-03-05.18:08:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I guess I should be more specific about the 12factor thing I just mentioned, because says:

A twelve-factor app never concerns itself with routing or storage of its output stream. It should not attempt to write to or manage logfiles. Instead, each running process writes its event stream, unbuffered, to stdout. During local development, the developer will view this stream in the foreground of their terminal to observe the app’s behavior.

The part that I want to be configurable is what the log levels are for various loggers.

For example, in production, you probably want most or all of your loggers set to WARN or such.

When running in development, ideally the developer can turn on more verbose logging without having to edit config files.


This is a Pyramid application, but environment variables of course could be used with any kind of application -- Django, etc.

LOGGER_ANWEB_LEVEL=debug pserve app.ini
Date User Action Args
2016-03-05 18:08:45Marc.Abramowitzsetrecipients: + Marc.Abramowitz, theller, georg.brandl, vinay.sajip, exarkun, ncoghlan, pitrou, eric.smith, eric.araujo, doughellmann, r.david.murray, michael.foord
2016-03-05 18:08:45Marc.Abramowitzsetmessageid: <>
2016-03-05 18:08:45Marc.Abramowitzlinkissue6958 messages
2016-03-05 18:08:44Marc.Abramowitzcreate