correct log instantiation