List of usage examples for com.liferay.portal.kernel.util ThreadUtil threadDump
public static String threadDump()
From source file:com.liferay.portlet.admin.action.EditServerAction.java
License:Open Source License
protected void threadDump() throws Exception { if (_log.isInfoEnabled()) { _log.info(ThreadUtil.threadDump()); } else {// w ww . j a v a 2 s . com _log.error("Thread dumps require the log level to be at least INFO for " + getClass().getName()); } }
From source file:com.liferay.server.admin.web.internal.portlet.action.EditServerMVCActionCommand.java
License:Open Source License
protected void threadDump() throws Exception { if (_log.isInfoEnabled()) { Log log = SanitizerLogWrapper.allowCRLF(_log); log.info(ThreadUtil.threadDump()); } else {//from ww w .j a v a 2s . c o m Class<?> clazz = getClass(); _log.error("Thread dumps require the log level to be at least INFO for " + clazz.getName()); } }