3637383940414243
public void set(String val) throws InvalidConfigValueException { LoggerHookChain chain = Logger.getChain(); try { chain.setThreshold(val); } catch (LoggerHook.InvalidThresholdException e) { throw new OptionFormatException(e.getMessage()); } }
187188189190191192193194195196197
if (val.equals(logRotateInterval)) return; if (fileLoggerHook != null) { try { fileLoggerHook.setInterval(val); } catch (FileLoggerHook.IntervalParseException e) { throw new OptionFormatException(e.getMessage()); } } logRotateInterval = val; } });