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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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