aspose file tools*
The moose likes Object Relational Mapping and the fly likes Trying to get verbose log4j info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Trying to get verbose log4j info" Watch "Trying to get verbose log4j info" New topic
Author

Trying to get verbose log4j info

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1034
I have the log4j log config file below, but all I'm getting in the jakarta log file is the prepared statement definitions. No "DEBUG" info as expected to help me figure out why things are slow.

I have show_sql=true property in my hibernate.cfg.xml and both the config files for hibernate and log4j are in my classes folder.

Any advise or suggestions appreciated!

-- M



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to get verbose log4j info
 
Similar Threads
Unable to delete
Printing out bind paramater values in Hibernate
Hibernate 3 -> Logging queries to file with log4j
Help, how config Hibernate to show the real SQL?
Log4j appender,stdout Error