tidy up console logger