modify display and log formats