reinits directory; updates log format