Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8014293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:53:22+00:00 2026-06-04T19:53:22+00:00

I am building a new C# project using the DLLs produced by some colleagues.

  • 0

I am building a new C# project using the DLLs produced by some colleagues.
They have log4net statements at all levels popping around in such number that my logs are hardly visible in the mass…

in log4net, is it possible to mute loggers by name rather than by level only ?
or even better, by assembly name ? I want to mute logging in DLLs that I use…

Thank you guys for any hints !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:53:23+00:00Added an answer on June 4, 2026 at 7:53 pm

    It should be a matter of adding a section to your config file like

     <logger name="xxx" additivity="false">
         <level value="OFF" />
     </logger> 
    

    If logging is using the standard convention, ie

    internal static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
    

    then you need to replace xxx can be the namespace or part of the namespace that you want to disable.

    If your colleagues are using the exact same namespace name as you are using,then you might need to replace xxx with the actual class name which could mean you end up with a large number of entries in your config file to disable logging for each of their classes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a draggable timeline of sorts for a new project using some simple
I have been building a new application using my current understanding of domain driven
I'm building some business objects for a new project and I'm wondering whether it
I'm building a new project using Seam 3. I don't understand what the difference
I have a MonoTouch project using some code I share with a Windows Phone
I've got a Java/Flex project that I'm building using Maven. After doing some research
We have a new project, building a fully featured facebook App on an embedded
I'm going to start a new project that's building web apps from scratch. I
I have a dedicated server and I'm in need for building new version of
I am building a new site, and I have a folder on desktop with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.