fix(app): create log dir if it does not exist