>> > 4) Enabling debug for tests >> > If there any smarter way to enable debug in tests apart from changing and >> > not comming log4j.properties ? >> Why not just enable DEBUG by default, and exclude the overly noisy >> stuff like zookeeper? > mmm, > writing a log of debug will slow up tests and may hide "race conditions" by > slowing down the execution of methods. > writing to the logs introduces "implicit" synchronization Another option is to add a profile in maven, which adds a system properties to control rootLogger. We should probably strip some stuff from the log4j properties too. ROLLINGFILE & TRACEFILE are never used, just came in the copy-paste.
-Ivan