Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Perl on IIS7 - log files?

by packetstormer (Monk)
on Mar 08, 2012 at 14:23 UTC ( #958472=perlquestion: print w/replies, xml ) Need Help??
packetstormer has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks

Up until now I have never development anything on a Windows server running perl. Today I find myself needing to and I can't see where I should look for tracking down problems when running a perl script on IIS.

When running on apache, if I have an error, I simply check the /var/log/apache2/error.log file and it will tell me the problem (mostly silly syntax errors etc). However there doesn't seem to be anywhere similar under Windows

I tried fatals to browser but that won't run if the code has a syntax errors!!
Does anyone know where to look for errors under IIS?

Replies are listed 'Best First'.
Re: Perl on IIS7 - log files?
by marto (Archbishop) on Mar 08, 2012 at 14:30 UTC

    I don't have access to an IIS 7 box to check, for II6 on Windows 2003:


    Update: If you're logged in to the server, open IIS, expand the 'Web Sites' folder, right click a site, then select 'Properties' from the drop down menu. 'Enable logging' should be checked, the 'Properties' button shows other options including providing a specific path. Note this is a per 'site' setting.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://958472]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2018-04-26 08:15 GMT
Find Nodes?
    Voting Booth?