Log messages appear by appropriate code blocks