-Re: ZooKeeper Logging
Mark Miller 2010-03-25, 15:27
On 03/25/2010 11:22 AM, Igor Motov wrote:
> I wonder if it would make sense to replace log4j-1.2.15.jar in the lib
> directory of the cloud branch with log4j-over-slf4j-1.5.5.jar. SOLR is
> already using SLF4J for its logging and log4j-over-slf4j bridge would
> redirect all ZooKeeper log messages into the same SLF4J logging stream. I
> did it in my setup and and it helped me a lot when I ran into issues with my
> ZooKeeper configuration.
> Thank you,
Yeah, this is a great idea - been meaning to look into this since Uwe
mentioned to me that it was possible the other week. Hadn't realized
these bridge jars existed previously. Yonik had started looking into
getting the ZooKeeper project to switch to SLF4J, but this is a great
solution for now.