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?

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

C:\Windows\system32\LogFiles

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.