-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate log with jboss and seam
PostPosted: Fri Apr 04, 2008 8:01 am 
Newbie

Joined: Fri Feb 16, 2007 6:52 am
Posts: 5
i use jboss 4.2.2 and seam 2.1 and i'm unable to see any Hibernate log on the console.

That's my log4j config :

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="(%thread) %d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<category name="org.hibernate">
<priority value="INFO"/>
</category>
<category name="org.hibernate.SQL">
<priority value="TRACE"/>
</category>
<category name="org.hibernate.type">
<priority value="TRACE"/>
</category>

<root>
<priority value="INFO"/>
<appender-ref ref="CONSOLE"/>
</root>

</log4j:configuration>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.