79740614

Date: 2025-08-20 04:20:17
Score: 1
Natty:
Report link

Python exceptions go to the vhost ErrorLog, but the logging module writes to stderr, which under mod_wsgi is sent to Apache’s main error log (/var/log/httpd/error_log). If you want your logging output in /homedir/error.log, set up a FileHandler in your logging config and point it to that file instead of relying on stderr.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ankit Sharma