Added javadoc for command logging.