clean up log@ to msg@