List of usage examples for com.liferay.portal.kernel.log Log warn
public void warn(Throwable t);
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 .j a v 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); } } }