Setup to log properly.