krisahoch has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
Error message retrieval from IIS using PerlScript is a pain. IIS does not log its errors to a STDERR, only to STDOUT. If you recieve an error in your PerlScript, it only goes the the browser, and is not sent to a log file. There is no time stamp associated with the error either.
I need to capture the IIS error message in a log file. I have tried useing Win32::ASP::AddDeathHooks(...) but that only works if you call the die() function (as opposed to if you write my $quotient = 4/0).
Has anyone out there had experiance trying to capture IIS error messages? Can anyone point me in the right direction?
Thank you,
Kristofer Hoch
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting error messages from IIS with PerlScript
by gellyfish (Monsignor) on Aug 09, 2005 at 13:54 UTC | |
|
Re: Getting error messages from IIS with PerlScript
by ikegami (Patriarch) on Aug 09, 2005 at 13:53 UTC | |
by krisahoch (Deacon) on Aug 09, 2005 at 14:48 UTC | |
by ikegami (Patriarch) on Aug 09, 2005 at 14:58 UTC |