blob: 002c655450855733a1263e40e6f35fe4ebc7915e [file] [log] [blame]
h1. Logging and Tracing
h2. Details
Curator is logging and tracing neutral. The Curator code is instrumented with logging and tracers
but uses a driver mechanism that allows easy integration into your preferred logging and tracing frameworks.
h2. Logging
Curator uses SLF4J ([[http://www.slf4j.org/]]) for logging. SLF4J is a facade over logging that allows you to
plug in any (or no) logging framework. See the SLF4J website for details.
h2. Tracing
Connect Curator tracing to your tracing framework via an instance of {{TracerDriver}}.
Curator calls the various methods (e.g. addTrace() or addCount() ) and your instance proxies the calls to your tracing
framework. Inform Curator of your tracing driver instance by calling {{CuratorZookeeperClient.setTracerDriver()}}.