implementing debugging output with log4j