This content has been marked as final.
Show 4 replies
-
1. Re: BPEL beta2 -
aguizar Oct 19, 2006 3:59 PM (in response to kvak_tnt)The log4j configuration file resides in server/[profile]/conf/log4j.xml. The log4j manual provides a great description of the configuration file format.
JBoss redirects the standard error stream to a category called STDERR, which you can configure as any other category. -
2. Re: BPEL beta2 -
kvak_tnt Oct 20, 2006 2:47 AM (in response to kvak_tnt)OK this file I allread found :-)
But if I add the following line - nothing new happens:<category name="net.sf.ehcache"> <priority value="ERROR"/> </category>
I Also tried
* sf.hibernate
* net.sf
Maybe here the full file:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <!-- ===================================================================== --> <!-- --> <!-- Log4j Configuration --> <!-- --> <!-- ===================================================================== --> <!-- $Id: log4j.xml,v 1.26.2.10 2006/04/21 17:29:20 csuconic Exp $ --> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="File" value="${jboss.server.log.dir}/server.log"/> <param name="Append" value="false"/> <param name="DatePattern" value="'.'yyyy-MM-dd"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender> <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="Target" value="System.out"/> <param name="Threshold" value="INFO"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> </layout> </appender> <appender name="CONSOLE_DEBUG" class="org.apache.log4j.ConsoleAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> </layout> </appender> <category name="org.apache"> <priority value="INFO"/> </category> <category name="org.jboss.serial"> <priority value="INFO"/> </category> <category name="org.jgroups"> <priority value="WARN"/> </category> <category name="jacorb"> <priority value="WARN"/> </category> <category name="org.jboss.management"> <priority value="INFO"/> </category> <category name="org.jboss.webservice"> <priority value="DEBUG"/> </category> <category name="org.jboss.axis"> <priority value="INFO"/> </category> <category name="eu.somepackage"> <priority value="DEBUG"/> <appender-ref ref="CONSOLE_DEBUG"/> </category> <category name="org.hibernate"> <priority value="WARN"/> </category> <category name="net.sf"> <priority value="ERROR"/> </category> <category name="sf.hibernate"> <priority value="ERROR"/> </category> <root> <appender-ref ref="CONSOLE"/> <appender-ref ref="FILE"/> </root> </log4j:configuration>
I hope someone can help me in this.
by the way does anyone know when the Releasedate of jBOSS-BPEL will be? (I read something about 10/30/06 http://jira.jboss.com/jira/browse/BPEL?)
Greetings
Claus -
3. Re: BPEL beta2 -
mputz Oct 20, 2006 4:17 AM (in response to kvak_tnt)EhCacheProvider which logs the warning messages is in package org.hibernate.cache.
To set this to the desired log level use<category name="org.hibernate.cache"> <priority value="ERROR"/> </category>
-
4. Re: BPEL beta2 -
kvak_tnt Oct 20, 2006 4:25 AM (in response to kvak_tnt)Thats the first one! Great!
And last question (as mentioned above): How can I surpress the errors:ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file. WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.def.Receive - this operation breaks ==
Greetings
Claus