-->
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.  [ 5 posts ] 
Author Message
 Post subject: Log messages
PostPosted: Tue Oct 07, 2003 4:35 pm 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:32 pm
Posts: 36
Location: S
How I put log messages using Java 1.4 logger ??

Herrera


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2003 5:09 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Use commons logging configuration.
http://jakarta.apache.org/commons/logging/userguide.html


Top
 Profile  
 
 Post subject: log with hibernate
PostPosted: Wed Oct 08, 2003 10:41 am 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:32 pm
Posts: 36
Location: S
Ok, I


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2003 11:44 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
No Hibernate use apache commons logging factory

Code:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
[...]
private static final Log log = LogFactory.getLog(SessionImpl.class);
[...]


and the standard approche of category = class name


Top
 Profile  
 
 Post subject: log question
PostPosted: Wed Oct 08, 2003 3:15 pm 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:32 pm
Posts: 36
Location: S
Which class name hibernate uses ? Could I use the same class name ?

How I can change the level of log ? Is there a parameter default setted for this ?

thanks


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

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.