Added log-guard, javadocs and fixed info string