Hi folks I've been using Perl and Apache for years, and have come across something bizzare. We have a system running with Apache 2 and Perl 5.9. We are using CGI::Application framework. Upto a few days ago, all STDERR print statements from the app were being written to the Apache error log. Since then, Perl warnings are written to the log but no STDERR print statements. As far as we can tell, nothing has changed. At the same time, some code in the app which was working before is now crashing. But nothing, other than warnings, is being written to the error log, so we can't work out why it's crashing. I don't think it's a coincidence that these two things have started happening at the same time. We did a reboot on the server, but that stil did not solve the problem. Like I said, I've been doing this stuff for years, but now I'm truly stuck, and I humbly ask for your help. Thx, Hamayoun

In reply to STDERR not being put in error log by hamayoun

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.