Correct way of using log4net (logger naming)
Regarding how you log messages within code, I would opt for the second approach: ILog log = LogManager.GetLogger(typeof(Bar)); log.Info(“message”); Where messages sent to the log above will be ‘named’ using the fully-qualifed type Bar, e.g. MyNamespace.Foo.Bar [INFO] message The advantage of this approach is that it is the de-facto standard for organising logging, it also … Read more