formatting, log dir