Modify not to create log dir.