create log directory when not existing