|Syntactic Confectionery Delight|
Getting error messages from IIS with PerlScriptby krisahoch (Deacon)
|on Aug 09, 2005 at 13:47 UTC||Need Help??|
krisahoch has asked for the wisdom of the Perl Monks concerning the following question:
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?