aspose file tools*
The moose likes BEA/Weblogic and the fly likes Cannot get log4j and hibernate to log from EJB in 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Cannot get log4j and hibernate to log from EJB in 10.3" Watch "Cannot get log4j and hibernate to log from EJB in 10.3" New topic
Author

Cannot get log4j and hibernate to log from EJB in 10.3

John El
Greenhorn

Joined: Jun 10, 2008
Posts: 8
I'm trying to get hibernate to log using log4j in an EJB using weblogic 10.3 & Oracle Workshop for Weblogic (eclipse)

I know log4j is configured correctly because I use it in web applications, it also logs in the ejb, but I cannot get any hibernate logs out.

I know it is possible because it worked in 8.1, but I'm stumped on how to get it going now.

I've:
changed the logging in the console to log4j
added the wllog4j.jar to the class path
added commons-logging.properties files to the web and ejb projects and tried different setting in them
made sure log4j and wllog4j.jar were on the build path of all projects, made sure only one or the other were on the build path

I'm stuck, I've searched online, but I guess I don't even really know enough to properly describe my problem so that my searches return something useful.

Does anyone have any ideas?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot get log4j and hibernate to log from EJB in 10.3