duplicate
create log directory