n2cms/n2cms — pull request #29 by arp51 (2011-11-24 02:58:02+00:00)
Title: Logging changes

This commit makes two changes:
- Replaced usage of Debug.Write / Trace.Write with log4net loggers.
- Updated default web.configs to include a standard log4net configuration.

I've made a best-guess attempt at the logging level required - please let me know if any of them need to be changed. I've left the logging format as the log4net default, so log messages are now more verbose:

old: Instantiate: N2.Details.ContentDetail Poco 4
new: N2.Persistence.NH.NHInterceptor: DEBUG - Instantiate: N2.Details.ContentDetail Poco 4

I've also updated the example solutions to add missing references, although this may be specific to my environment (please check)

Cheers,
Andy