added some more debugging statements for log4j