code: function configure(config, opts) {
  	var filename = config;
  	config = config || process.env.LOG4JS_CONFIG;
  	opts = opts || {};
  
  	if (typeof config === 'string') {
  		config = JSON.parse(fs.readFileSync(config, "utf8"));
  	}
  
  	if (config) {
  		config = replaceProperties(config, opts);
  	}
  
  	if (config && config.lineDebug) {
  		process.env.LOGGER_LINE = true;
  	}
  
  	if (config && config.rawMessage) {
  		process.env.RAW_MESSAGE = true;
  	}
  
  	if (filename && config && config.reloadSecs) {
  		initReloadConfiguration(filename, config.reloadSecs);
  	}
  
  	// config object could not turn on the auto reload configure file in log4js
  
  	log4js.configure(config, opts);
  }
docs: Configure the logger.
  Configure file just like log4js.json. And support ${scope:arg-name} format property setting.
  It can replace the placeholder in runtime.
  scope can be:
  env: environment variables, such as: env:PATH
  args: command line arguments, such as: args:1
  opts: key/value from opts argument of configure function
  
  @param  {String|Object} config configure file name or configure object
  @param  {Object} opts   options
  @return {Void}