I am working on a site where there have been some end users reporting errors...but of course they dont send the errors. Ideally I would like an email error report to go out whenever there is an error (when the page breaks) but I thought I'd start with an error log.
This is Godaddy Windows hosting.
I added this code:
<appSettings>
<add key="ErrorLoggingLogToFile" value="True" />
<add key="ErrorLoggingLogFile" value="Error.log" />
</appSettings>
to my web.config then purposefully through some bad code into my .cs file to check it. No error file written.
So I manually created and uploaded the Error.log file, added bad code again to throw the error. No luck. It's not writing to the file.
Any thoughts?
Thanks,
Chris