On Mon, May 21, 2012 at 09:37:52AM -0700, Jonathan Vanasco wrote:
> Under "Advanced Configuration"
> """To capture log output to a separate file, use a FileHandler (or a
> ( instructions continue )
> Also, you'll note at the top of the docs:
> """The pserve command calls the logging.fileConfig function using the
> specified ini file if it contains a [loggers] section (all of the
> scaffold-generated .ini files do). logging.fileConfig reads the
> logging configuration from the ini file upon which pserve was
Note that it's pserve that does this.
If you use something else (e.g. uwsgi, with which I'm entirely
unfamiliar), you have to ensure it configures logging for you.
Google tells me uwsgi has a --ini-paste-logged option ("only availabe in
the development version" according to a blog post dated February 2012).
Please do not even think about automatically normalizing file names
anywhere. There is absolutely no need for introducing such nonsense, and
deviating from the POSIX requirement that filenames be opaque byte
strings is a Bad Idea[TM] (also known as NTFS).
-- Markus Kuhn