python - How do I write to the apache log files when using mod_wsgi -


i have django project have been logging file using standard library logging module. variety of reasons change writes apache log files. i've seen quite bit of discussion of how mod_python, not mod_wsgi. how do project running under mod_wsgi?

mostly, use logging , write sys.stderr. seems write apache error_log.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -