fix log dirrectory path