我为使用JBoss作为应用服务器,它当我部署我的JBoss服务器上的应用程序将它打印休眠日志像避免休眠日志
"FINE: ----- beginning hibernate tx 32213345 --------------------------------------------------------
16:37:27,716 ERROR [STDERR] 6 Dec, 2010 4:37:27 PM org.jbpm.internal.log.Jdk14Log info
INFO: jBPM version info: library[4.3], schema[4.3]
16:37:27,717 ERROR [STDERR] 6 Dec, 2010 4:37:27 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- committing hibernate tx 22527471 -------------------------------------------------------
16:37:27,719 INFO [STDOUT] 16:37:27,719 INFO [ProcessExecutionFactory] Exiting ServiceExecutionIntf with return value .....null(org.jbpm.test.ProcessExecutionProviderImpl)
16:37:27,762 ERROR [STDERR] 6 Dec, 2010 4:37:27 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- beginning hibernate tx 19486230 --------------------------------------------------------
16:37:27,921 ERROR [STDERR] 6 Dec, 2010 4:37:27 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- committing hibernate tx 2165098 -------------------------------------------------------
16:37:27,926 ERROR [STDERR] 6 Dec, 2010 4:37:27 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- beginning hibernate tx 26648124 --------------------------------------------------------
16:37:28,001 ERROR [STDERR] 6 Dec, 2010 4:37:28 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- committing hibernate tx 9901286 -------------------------------------------------------
16:37:28,018 ERROR [STDERR] 6 Dec, 2010 4:37:28 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- beginning hibernate tx 11762369 --------------------------------------------------------
16:37:28,185 ERROR [STDERR] 6 Dec, 2010 4:37:28 PM org.jbpm.internal.log.Jdk14Log debug
FINE: ----- committing hibernate tx 7629906 -------------------------------------------------------
"
所以很让人讨厌,是没有办法避免它在jboss服务器上打印? 如果是这样,那么PLZ。请尽快给我。
谢谢。
所有这些日志消息都处于错误级别,所以是严重的问题,我认为很高兴看到它们被打印出来以便引起您的注意。 – 2010-12-06 11:51:26