change logger structure