Giter Site home page Giter Site logo

common.logging.log4net.universal's Introduction

Common.Logging.Log4Net.Universal

Common Logging adapter for Log4Net

common.logging.log4net.universal's People

Contributors

mperdeck avatar queston02 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

common.logging.log4net.universal's Issues

Add support for .NET4.5

Can you add support for .NET 4.5.1?
For the moment the lowest supported version is .NET 4.6.1
Because of this, I can not use this package in my project, which is at version 4.5.1

Constructor parameters?

Hi
I am trying to use the Common.Logging.Log4Net.Univeral to get everything talking to the latest version of Log4Net - currently 2.0.7

<factoryAdapter type="Common.Logging.Log4Net.Universal.Log4NetFactoryAdapter, Common.Logging.Log4Net.Universal"/>

I've noticed from the Common.Logging.Log4Net.Universal source code (and errors!) that the new factory adapter does not take any constructor arguments.

My previous setting here was like this:
<factoryAdapter type="Common.Logging.Log4Net.Universal.Log4NetFactoryAdapter, Common.Logging.Log4Net1215">
<arg key="configType" value="INLINE"/>
<arg key="level" value="ALL" />
</factoryAdapter>

So, previously, I would then detail the log4net settings in the same config file.

Now that the Universal adapter takes no parameters, I'm unable to get any logging happening. The inline log4net config isn't picked up.

Does anyone know how I can tell the new adapter where to get its logging config from?

Julian

GlobalVariablesContext not working with AdoNetAppender

HI,

Before using Log4Net.Universal we were using Logging.Log4net1213 and in that we were using custom properties for passing values to the AdoNetAppender. This used to work perfectly. But now since we have changed to Log4Net.Universal we started using GlobalVariablesContext.Set(..) for passing values to the AdoNetAppender because CustomProperties doesn't exist. Unfortunately now those values are coming as null and throwing up error during logging. There is also no documentation that i am aware of for Log4Net.Universal. Please let me know how to fix this.

Previuos Version :- Common.Logging, Version=2.2.0.1, Common.Logging.Log4Net1213
Current Version :- Version=3.3.1.0 Common.Logging.Core, Common.Logging & Common.Logging.Log4Net.Universal.1.0.1

Thanks,
Queston02

jsonlog.logger - error occurred creating the configuration section handler

Please ignore this as I posted in the wrong area.

Hi,

I have updated all my Nuget packages and something has broken the Jsnlog logging. My backend logging continues to work but not my logging from my .js files.

I get this error:
image

I noticed this error in an Application Insights log:

"message": "Could not load file or assembly 'Common.Logging.Log4Net.Universal' or one of its dependencies. The system cannot find the file specified.",

but it is in my packages folder:
image

Logs.zip

The full error message, packages.config and the web.config are attached.

I have spent half a day researching this and I have not found a solution. Your help will be appreciated.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.