common.logging Questions

5

I am trying to use the Common.Logging assembly to replace the default nHibernate Log4net logging. I added a reference in my project to: Common.Logging.dll v2.0 NHibernate.Logging.CommonLog...
Langur asked 24/11, 2011 at 18:9

2

I added common.logging.log4net to my visual studio 2012 solution via nuget. common.logging.log4net ver. - 2.0.1 common.logging ver. - 2.0.0 log4net - ver. 1.2.10 When I build/run it locally, I s...
Shooin asked 28/9, 2012 at 16:31

3

How to dynamically change the FileName using a variable from C#? My idea is to create a log file like Log_<UserId_From_DB>_${date:format=yyyy-MM-dd}.log. Any ideas?
Biting asked 19/5, 2016 at 15:1

8

Solved

I'm trying to configure a console application with the following logging assemblies: Common.Logging.dll (2.1.0.0) Common.Logging.Log4Net1211.dll (2.1.0.0) log4net.dll (1.2.11.0) If the logger...
Shook asked 6/7, 2012 at 19:7

3

Solved

My company's standard logging tool is NLog. I'm trying to introduce Quartz.net and was asked if it could use NLog instead of Log4Net. I know I can recompile to use NLog, but I'd like to do it from...
Thermosphere asked 4/7, 2011 at 10:1

3

Solved

I am currently working on moving a large project over to use Common.Logging and I was hoping to be able to output logging events to more than one 3rd party logging implementation. We currently ha...
Kemerovo asked 6/7, 2012 at 12:41

4

Solved

So I have tried everything I can find to get these two to play together. I have installed the nuget package Common.Logging.NLog20, My config looks like: <configSections> <sectionGroup ...
Venetian asked 6/5, 2014 at 20:9

3

Solved

I'm trying to implement Quartz.Net. As long as there is no logging configured everything works (the debug output shows "no configuration section found - suppressing logging output"). When logging ...

2

Solved

I'm attempting to use NuGet packages to configure Common.Logging to use NLog2 in an ASP.Net MVC project. Based on the information provided at the URLs below, I believe my loggers are configured pro...
Blastocyst asked 12/2, 2013 at 19:41

2

Solved

I've got a Wpf .net 4.0 C# project that I am attempting to migrate from using Log4Net to using NLog as the logging library behind the Common.Logging Façade. I had expected this to be an easy task, ...
Servomotor asked 27/5, 2013 at 4:30

1

Solved

Looking a project that uses Common.Logging for .NET, I noticed that some classes declare the logger instance as a class static member. For instance: public class HelloJob : IJob { private static ...
Alluring asked 4/12, 2012 at 23:39

2

I tried using these together today, and was getting a version mismatch, as it's looking for NLog v1. Does Common.Logging support NLog v2 yet? If not, does anyone know if an assembly version redi...
Wyck asked 17/5, 2011 at 8:9

2

Solved

My question originates from this question, where one of the comments suggests that a DEBUG log level is finer grained than TRACE. Looking at what TRACE and DEBUG means in .NET, this seems to make s...
Aldos asked 25/6, 2012 at 8:33

1

Solved

I'm attempting to install a nuget package which has incorrectly specified one of it's dependencies. Common.Logging.Log4Net requires log4net = 1.2.10 however the nuget package specifies log4net >= 1...
Southwester asked 10/1, 2012 at 20:22

3

Solved

EDIT: Common.Logging 2.1.1 was released on June 9, 2012 and the Github page is fairly active, with the author commenting specifically on the health of the project. We're looking at using Com...
Photocopy asked 21/7, 2011 at 15:3

1

Solved

I'm getting the following exception when I try to call var log = LogManager.GetLogger(this.GetType()); A first chance exception of type 'Common.Logging.ConfigurationException' occurred in Com...
Aldo asked 21/7, 2011 at 16:46

2

Solved

I'm using Quartz.net within a windows service. Currently, the trigger is not firing - I'd like to use the logging to find out why. I have edited my config file for the windows service: <config...
Bandler asked 10/2, 2010 at 12:38
1

© 2022 - 2024 — McMap. All rights reserved.