setup logging in preamble.