docs: public void setLog(String dataDirectory, boolean enablePurgeBySize, boolean enablePurgeByTime, long maxSize  , long minPurgeTime,
  		String outOfSpaceAction, boolean enableBuffering, boolean fileSwitchEnabled, int fileSwitchTime){
  		LogState state = ivLog.clone();
  		state.ivDataDirectory = dataDirectory;
  		state.ivPurgeBySizeEnabled = enablePurgeBySize ;
  		state.ivPurgeByTimeEnabled = enablePurgeByTime ;
  		state.ivPurgeMaxSize = maxSize;
  		state.ivPurgeMinTime = minPurgeTime;
  		state.ivOutOfSpaceAction = outOfSpaceAction;
  		state.ivBufferingEnabled = enableBuffering ;
  		state.ivFileSwitchEnabled = fileSwitchEnabled ;
  		state.ivFileSwitchTime = fileSwitchTime ;
  
  		updateLogConfiguration(state);
  		
  		state.copyTo(ivLog);
  	}