2017-10-19 17:45 GMT+02:00 Ivan Kelly <iv...@apache.org>: > >> > 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. >
This will work for me. I wonder how other guys are working on BookKeeper code.... I will dig into compiler plugin and then create an issue a patch on main pom.xml > > -Ivan >