Fixed the logger and the javadoc