Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Memcached Server 1.0.3

log4net configuration for Membase/Enyim loggers

2 replies [Last post]
  • Login or register to post comments
Tue, 06/22/2010 - 07:56
ram
Offline
Joined: 06/22/2010
Groups: None

In my logs I see 4 loggers associated with Membase/Enyim

Enyim.Caching.Memcached.MemcachedNode+InternalPoolImpl
Enyim.Caching.Memcached.Operations.Binary.BinaryAuthenticator
Enyim.Caching.Memcached.PooledSocket
Membase.Store.MessageStreamListener

My default log4net configuration in development is DEBUG, and I see all DEBUG/WARN messages from Membase/Enyim as well. I want to change the logging level for these 4 loggers alone to error, but I am not sure what is the best way to go about it. What is the best way to configure these loggers to log only ERROR?

Top
Fri, 06/25/2010 - 14:31
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Ram, I'm checking into this and will get you an answer as soon as I can.

Thanks!

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Fri, 06/25/2010 - 14:39
Attila Kisko
Offline
Joined: 04/22/2010
Groups: None

i'ts quite easy actually.

you need to define a new logger and set it's threshold:

[CODE]

...

[/CODE]

The name should be the namespace or class for which you want to define a new logger. It's a "starts with match so you can easily disable a whole hierarchy.

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker