In Chapter 6 “Where to go from here” on page 58 Dean references TotallyLazy for those not wanting to take the scala / clojure route.
Hopefully this will stop someone from wasting a day of their life… If you pass in the following when you start your Java application: java -Dlog4j.configuration=file:///some/path/log4j.properties And that file contains a class that is not on the class path log4j.appender.myAppender=biz.minaret.log4j.DatedFileAppender log4j.rootLogger=error, myAppender Then due to the log4j static initialisers you will not see an error […]
Firstly this is not just my effort but my team and organisation. Secondly the usual rules apply, this is expert advise and what works for me will very probably cause your whole production stack to blow up and kill people. Lastly this is long so skip to the bit you care about or come along […]