It's possible to connect that log trace to system diagnostics, and a log file. Someone did that? If not, I will dig in to that l8. (Should be filtered so only warnings & errors are written).
It would be very nice if a WebPageTraceListener could somehow be tied to ELMAH. It certainly is very handy to know when the XSLT files fail when you're not looking.
And yes, it should definitely be filtered, I don't need a 100 emails per page request.. ;-)
Generate log row on xslt error?
Sometimes a xslt generates an error on a live site, is there a way to log those errors?
TIA /
Jonas
Hmm, is this like the error that outputs something like: "Error in Something.xslt" ?
This is something that's in a catch block, so the error is completely handled. The only thing I can think of right now is changing the core..
This is the code:
Hi, yes, and Error parsing...
I do think that logging those errors would be a great feature to have, I even saw error messages of that kind here att umbraco.org :)
Regards
Jonas
It's possible to connect that log trace to system diagnostics, and a log file. Someone did that? If not, I will dig in to that l8. (Should be filtered so only warnings & errors are written).
http://msdn.microsoft.com/en-us/library/b0ectfxd%28VS.80%29.aspx
It would be very nice if a WebPageTraceListener could somehow be tied to ELMAH. It certainly is very handy to know when the XSLT files fail when you're not looking.
And yes, it should definitely be filtered, I don't need a 100 emails per page request.. ;-)
I really think that xslt-errors should be sent to the umbracoLog as well as to the trace.
Now I got that error here on our
Elijah Glover on Elmah & Umbraco http://stackoverflow.com/questions/3809618/umbraco-cms-net-logging-errors-loading-xslt-user-controls
is working on a reply...