public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
@Override public void start() { String[] keyInfo = extractDefaultReplacement(getFirstOption()); key = keyInfo[0]; if (keyInfo[1] != null) { defaultValue = keyInfo[1]; } super.start(); }
public void start() { int errorCount = 0; String facilityStr = getFirstOption(); if (facilityStr == null) { addError("was expecting a facility string as an option"); return; } facility = SyslogAppenderBase.facilityStringToint(facilityStr); localHostName = getLocalHostname(); try { // hours should be in 0-23, see also http://jira.qos.ch/browse/LBCLASSIC-48 simpleMonthFormat = new SimpleDateFormat("MMM", Locale.US); simpleTimeFormat = new SimpleDateFormat("HH:mm:ss", Locale.US); } catch (IllegalArgumentException e) { addError("Could not instantiate SimpleDateFormat", e); errorCount++; } if (errorCount == 0) { super.start(); } }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
@Override public void start() { String[] keyInfo = extractDefaultReplacement(getFirstOption()); key = keyInfo[0]; if (keyInfo[1] != null) { defaultValue = keyInfo[1]; } super.start(); }
public void start() { int errorCount = 0; String facilityStr = getFirstOption(); if (facilityStr == null) { addError("was expecting a facility string as an option"); return; } facility = SyslogAppenderBase.facilityStringToint(facilityStr); localHostName = getLocalHostname(); try { // hours should be in 0-23, see also http://jira.qos.ch/browse/LBCLASSIC-48 simpleMonthFormat = new SimpleDateFormat("MMM", Locale.US); simpleTimeFormat = new SimpleDateFormat("HH:mm:ss", Locale.US); } catch (IllegalArgumentException e) { addError("Could not instantiate SimpleDateFormat", e); errorCount++; } if(errorCount == 0) { super.start(); } }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
@Override public void start() { key = getFirstOption(); super.start(); }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
@Override public void start() { key = getFirstOption(); super.start(); }
public void start() { String optStr = getFirstOption(); if (optStr != null) { key = optStr; super.start(); } }
@Override public void start() { String[] keyInfo = extractDefaultReplacement(getFirstOption()); key = keyInfo[0]; if (keyInfo[1] != null) { defaultValue = keyInfo[1]; } super.start(); }
@Override public void start() { String[] keyInfo = extractDefaultReplacement(getFirstOption()); key = keyInfo[0]; if (keyInfo[1] != null) { defaultValue = keyInfo[1]; } super.start(); }
@Override public void start() { String[] keyInfo = extractDefaultReplacement(getFirstOption()); key = keyInfo[0]; if (keyInfo[1] != null) { defaultValue = keyInfo[1]; } super.start(); }
@Override public void start() { List<String> exclusionList = getOptionList(); if (exclusionList != null) { converter.setExclusions(exclusionList); } super.start(); } }
@Override public void start() { converter.setFieldName(getFirstOption()); super.start(); } }
@Override public void start() { String[] keyInfo = extractDefaultReplacement(getFirstOption()); key = keyInfo[0]; if (keyInfo[1] != null) { defaultValue = keyInfo[1]; } super.start(); }