durusmail: quixote-users: When to use error_log?
When to use error_log?
2000-12-08
When to use error_log?
Greg Ward
2000-12-08
Currently, it looks to me as though the ERROR_LOG config variable is
only used -- ie. the Quixote error log is only written to -- when we
catch an exception in the main 'call()' function.

This means that any writes to stderr, eg. from deep within the guts of
the Quixote applications, will wind up in the server's error log (at
least that's how Apache works).  This seems confusing and counter to the
documentation in config.py.  Perhaps stderr should always be redirected
to ERROR_LOG (if one is supplied) -- that way, if you set ERROR_LOG,
Apache errors go to Apache's error log, and Quixote errors go to
Quixote's log.  Makes sense to me.  Anyone else?

        Greg


reply