[flexcoders] Re: enabling Hibernate logging through log4j with jrun/fds2

2007-02-23 Thread simonjpalmer
PW,

which sample did you use for your log4j.properties?

Thanks
Simon

--- In flexcoders@yahoogroups.com, parkerwhirlow
[EMAIL PROTECTED] wrote:

 I have gotten hibernate logging to work by placing log4j.jar into the
 web-inf/lib directory, and placing a log4j.properties (you can use the
 sample) into the web-inf/classes directory. That was all I needed to do.
 
 good luck,
 PW
 
 --- In flexcoders@yahoogroups.com, thunderstumpgesatwork
 thunder.stumpges@ wrote:
 
  
  Does anyone know how to get hibernate logging when using FDS and the
  HibernateAssembler? From my reading on Hibernate: see
 

http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging
  , they use log4j, and talk about putting a log4j.properties file in
  the WEB-INF/classes directory, but I have tried this with no luck...
  
  Also, I'm not referring to Flex's Hibernate Assembler log set up by
  setting patternDataService.Hibernate/pattern in the
  services-config.xml log target... I'm talking about getting internal
  Hibernate log output.
  
  thanks,
  Thunder
 





[flexcoders] Re: enabling Hibernate logging through log4j with jrun/fds2

2006-12-22 Thread parkerwhirlow
I have gotten hibernate logging to work by placing log4j.jar into the
web-inf/lib directory, and placing a log4j.properties (you can use the
sample) into the web-inf/classes directory. That was all I needed to do.

good luck,
PW

--- In flexcoders@yahoogroups.com, thunderstumpgesatwork
[EMAIL PROTECTED] wrote:

 
 Does anyone know how to get hibernate logging when using FDS and the
 HibernateAssembler? From my reading on Hibernate: see

http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging
 , they use log4j, and talk about putting a log4j.properties file in
 the WEB-INF/classes directory, but I have tried this with no luck...
 
 Also, I'm not referring to Flex's Hibernate Assembler log set up by
 setting patternDataService.Hibernate/pattern in the
 services-config.xml log target... I'm talking about getting internal
 Hibernate log output.
 
 thanks,
 Thunder