clean up log messaging