Common Logging is an Apache project that provides a consistent interface for Logging Implementations in Java. It has been ported to .NET as a SourceForge project.
Questions tagged [common.logging]
87 questions
2
votes
0 answers
Swapping from log4net to Serilog using Common.Logging
A solution already exists that uses log4net with Common.Logging,
we have decided we want to swap out log4net and swap in Serilog.
In App.config
--

M Y
- 1,831
- 4
- 24
- 52
2
votes
3 answers
Common.Logging - how to get callback on log writing?
I have a library, which uses Common.Logging. I need to get my code called when any write to it's log occurs.

user626528
- 13,999
- 30
- 78
- 146
2
votes
2 answers
Quartz.net - Could not load file or assembly Common.Logging Version=3.0.0.0
Im using Quartz.net in my project, and suddenly I get this exception :
Could not load file or assembly 'Common.Logging, Version=3.0.0.0...
I have no idea why it poped, everything was just fine, and the quartz worked,
And suddenly it didn't.
Why?

Golan Kiviti
- 3,895
- 7
- 38
- 63
2
votes
1 answer
Log4Net Multiple Appenders, multiple tables having issues with config
I have two different tables that I'm logging information too. I'm using the Common.Logging library wrapper for log4net and almost have things configured properly but I'm running into an issue where to much is getting logged to the log table... I…

DRobertE
- 3,478
- 3
- 26
- 43
2
votes
1 answer
Redirecting Quartz Net Scheduler Logging Into Nlog
I have the following scenario,
A Windows Service running a self hosted Quartz Scheduler service.
I have a class library with a number of classes that are 'jobs' that will run when triggered by the Quartz Scheduler Service.
I have NLog configured in…

Dave Rob
- 21
- 4
2
votes
2 answers
Could not load type 'Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter'
I just updated my nuget packages for Common.Logging.Log4Net. Since then I keep getting the following error:
Could not load type
'Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter' from
assembly 'Common.Logging, Version=2.2.0.0,…

Mark
- 3,717
- 3
- 33
- 48
2
votes
1 answer
Configure Nhibernate log into file
I have programmatically create log4net log from config file:
var properties = new NameValueCollection
{
{"configType", "FILE"},
{"configFile", @"c:/log4net.config"}
…

dbardakov
- 651
- 1
- 8
- 22
2
votes
2 answers
log4net (common.logging) erroneous exception
I have the following log4net statement in a c# application:
log.Info(CultureInfo.InvariantCulture, m => m(notice));
with the string contents of:
notice = "Checking: 645: Bp $B!!:{4V7r;K Bp $B$D$^$M$5$S (B (B…

James John McGuire 'Jahmic'
- 11,728
- 11
- 67
- 78
2
votes
0 answers
Common Logging log4net INLINE WATCH
I have the following app.config in an application using Common.Logging.Log4net (ommited several parts to simplify the example):

natenho
- 5,231
- 4
- 27
- 52
2
votes
1 answer
How to configure Quartz.Net version 2.1.2.0 integrated with Log4Net
I have downloaded the newest version of Quartz.Net and try to configure it with common.logging and log4net dlls by using below configuration (based on this example)

Don
- 1,532
- 4
- 24
- 47
2
votes
0 answers
ASP.NET MVC 2 + Common.Logging + NLog = Session_Start called for each request
After switching the logging library behind Common.Logging 2.1.1 from log4net to NLog 2.0 my ASP.NET MVC 2 application kept logging correctly, but it started calling the HttpApplication.Session_Start method for each request.
I'm trying to use NLog's…

Beder Acosta Borges
- 5,238
- 2
- 28
- 23
2
votes
1 answer
configure common.logging in Azure
I'm developing an app. using Common.Logging (http://netcommon.sourceforge.net/index.html).
A simplified logging configuration (which is done in web.config) is as follows:
...

soleiljy
- 1,121
- 2
- 13
- 20
2
votes
1 answer
NServiceBus + Common.Logging + NLog
I'm trying to figure out how to use NServiceBus in combination withCommon.Logging. I just can not get it running. I try to develop a small demo application just for educational purpose.
What I did was:
1) Create a simple console application and…

harri
- 556
- 5
- 17
2
votes
1 answer
Making Quartz.net work with log4net 1.2.11.0
I'm using Quartz.net for a project, which depends on Common.Logging 2.0. Problem is, that Common.Logging 2.0 only works with log4net 1.2.10.0, and we got libraries that depends on log4net 1.2.11.0.
Has anyone had problems with this? I can't really…

cwap
- 11,087
- 8
- 47
- 61
1
vote
0 answers
Why does Common.Logging in NuGet use .NET Portable?
I am using:
MonoDevelop 7.1
.NET Framework 4.6.2
Mono 5.0.1.1 (2017-02/5077205 Thu May 25 09:16:53 UTC 2017) (64-bit)
No PCL or profiles (to my knowledge)
msbuild 15.2.0.0 (Thu May 11 17:28:41 UTC 2017)
is not specified; that is, it's…

Reinderien
- 11,755
- 5
- 49
- 77