Changing to earler logging mechanism