Removed log4j properties.
Fixed the message and key generation.