[San-Diego-pm] Unix shell errors

C. Abney cabney at ucsd.edu
Fri Feb 25 14:44:26 PST 2005

On Fri, 2005-02-25 at 13:44, Randal L. Schwartz wrote:
> >>>>> "C" == C Abney <cabney at ucsd.edu> writes:
> C> I thought apache would tell you exactly which scripts are producing the
> C> errors?  I think this is how it works by default.
> No, it just absorbs STDERR into the error_log.  No indication of
> authorship.

You are right, I wasn't looking at the fact he wasn't handling STDERR of
the shell because I never use backticks unless I'm guaranteed it won't
generate errors (when is that you ask?)

> If this is mod_perl, you can add a handler that figures out that
> something is about to be handled by mod_cgi, and timestamps it
> in the error log.  Hmm.  that's a column. :) (>>TODO)

Offline I pointed him to perlipc...



More information about the San-Diego-pm mailing list