if(log.isDebugEnabled()) {
if(log.isErrorEnabled()) {
  public ComponentData modifyComponentData(ComponentData data) {    numAgs2 = 0;                // Gets counted as metrics plugins are inserted    ComponentData picd = addMetricsComponentData(data);    // OK, now set numAgs2 val in the numProviders slot    // First, find the MetricsInitializer Plugin    if (picd == null) {      // couldn't find the initializer plugin. Big problem      if(log.isDebugEnabled()) {        log.error("BasicMetric: Could not insert initializer?");      }      return data;    }        // Then, reset the value of the first parameter    picd.setParameter(0, new Integer(numAgs2));       return data;  }