code: function () {
          //set logger
          if (!module.parent) {
              appHttp.use(morgan({format: 'dev'}));
              appHttps.use(morgan({format: 'dev'}));
          }
          return Q();
      }
docs: Set morgan logger
  @returns {*}
  @private