}
}
/* We have to ask Session - that's not cheap */
try {
Session sess = Factory.getSession_unchecked();
if (sess == null) // then we can't evaluate the condition
return false;
if (fce._condContUserName && !publishDocMap.containsKey(LogConfig.cUserName))
publishDocMap.put(LogConfig.cUserName, sess.getEffectiveUserName());
if (fce._condContDBPath && !publishDocMap.containsKey(LogConfig.cDBPath))
publishDocMap.put(LogConfig.cDBPath, sess.getCurrentDatabase().getApiPath());
} catch (Exception e) {
System.err.println("LogFilterHandler: Exception " + e.getClass().getName() + " in Session.getXX:");
e.printStackTrace();
return false;
}