I've been trying to find information regarding Umbraco and logging of debug/warn/error messages and have come up short. I noticed that there is a <logging> node defined in the umbracoSettings.config but it doesn't appear to offer much in the way of options.
My main question is, what configuration options do I have with regard to logging warning & error messages? I'm very familiar with log4net and we typically utilize a rolling file appendar as well as the SMTP appender so we can be a little pro-active when issues arise.
The build in umbraco logging logs against the database (see the umbracoLog table). In the config you can define which logging types (error, debug, etc) will be logged or not, eg:
Umbraco v4 Application Logging
Hello,
I've been trying to find information regarding Umbraco and logging of debug/warn/error messages and have come up short. I noticed that there is a <logging> node defined in the umbracoSettings.config but it doesn't appear to offer much in the way of options.
My main question is, what configuration options do I have with regard to logging warning & error messages? I'm very familiar with log4net and we typically utilize a rolling file appendar as well as the SMTP appender so we can be a little pro-active when issues arise.
Thanks for the assistance!
Marshall
The build in umbraco logging logs against the database (see the umbracoLog table). In the config you can define which logging types (error, debug, etc) will be logged or not, eg:
if you don't want the debug messages.
hth,
Thomas
If you want to use log4net see Ismails blog post: http://ismailmayat.wordpress.com/2009/05/19/integrating-log4net-into-umbraco-site/
Thomas
Hey Thomas, can you put that on the wiki somewhere, I didn't know that existed I thought it was all on or all off.
I expect that we'll use log4net in v5 though.
I will do it the next days
is working on a reply...