Implemented log4j logs.