Log different messages into foo bar and foobar log.