-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate logging and Tomcat
PostPosted: Mon Dec 22, 2003 5:23 pm 
Beginner
Beginner

Joined: Tue Sep 23, 2003 10:03 am
Posts: 26
Location: madison, wi
We are using a HibernateMonitor class that implements IMonitor (the code was written by Simon Robins and Eric Everman). The code calls this logger:

static private Log log = LogFactory.getLog(HibernateMonitor.class);

And it writes all session calls to this. The thing is, I can't find any log file that contains the info that is supposed to be written. I have a copy of the code running on a Linux machine running Tomcat, and by default it prints all of those to catalina.out file, which doesn't seem to exist in my Windows Tomcat directory anywhere. I have set all my Tomcat logging options to be very verbose, but still don't see anything. I'm pretty sure that this is just a simple issue with logging and I don't know enough, so if someone could just point me in the right direction, it'd help a lot.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 23, 2003 5:57 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Where did you get this class from.? Sounds like a Tapestry extension class. I would suggest you isolate your problem to a simple expanle that calls the logging susyem - if you using log4j then make sure your log4j.properties are on the class path.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.