remove line comment
remove garbage exception catching
specify logging for stdout closer to spec