docs: function configure(config, opts) {
      config = config || process.env.LOG4JS_CONFIG;
      opts = opts || {};
  
      if (typeof config === 'string') {
          config = loadConfigurationFile(config);
      }
  
      if (config) {
          config = replaceProperties(config, opts);
      }
  
      if (config && config.lineDebug) {
          process.env.LOGGER_LINE = true;
      }
  
      if (config && config.rawMessage) {
          process.env.RAW_MESSAGE = true;
      }
      // config object could not turn on the auto reload configure file in log4js
      log4js.configure(config, opts);
  }