if (log.isWarnEnabled()) log.warn(
if (log != null && log.isWarnEnabled()) log.warn(
  private void returnUpdate (Element root) throws Exception {    String qId = root.getAttribute("query_id");    String requester = root.getAttribute("requester");    BBSession bbs = findSessionById(qId);    if (bbs != null)      bbs.pushUpdate();    else      if (log.isWarnEnabled()) log.warn(        "Error: ("+me+") query not found while updating " + qId + " for " + requester);  }