create log directory; create error log
create log directory; create error log