if (m_visiting.size() > 0) { LOG.warn("pending events being dumped"); }    if (LOG.isDebugEnabled()) { setLevel(0); }
m_visiting.clear();
    private void cleanUp() {        if (m_pending.size() > 0) {            LOG.warn("pending events being dumped");        }        // m_pending.clear();        if (m_visiting.size() > 0) {            LOG.warn("pending events being dumped");        }        // m_visiting.clear();        // reset logging stack        if (LOG.isDebugEnabled()) { setLevel(0); }    }