List of usage examples for com.liferay.portal.kernel.log Log isTraceEnabled
public boolean isTraceEnabled();
From source file:pt.knowledgeworks.liferay.ext.event.ContainerLogoutAction.java
License:Open Source License
@Override public void run(HttpServletRequest req, HttpServletResponse res) throws ActionException { try {// w w w. jav a 2 s . c o m req.logout(); } catch (ServletException ex) { final Log log = LogFactoryUtil.getLog(ContainerLogoutAction.class); final String msg = "CAUTH0020: Unxpected error while performing logout"; log.warn(msg + " :: " + ex); if (log.isTraceEnabled()) { log.trace(msg, ex); } } }