Re: Log4j not logging hibernate

2007-11-02 Thread Jacob Kjome
The WEB-INF/lib folder is not added to the classpath. Each jar in said folder is but not the folder itself. You need to put it in WEB-INF/classes. I assume you are using Tomcat standalone, with child-first classloading? Then if you put log4j.jar in WEB-INF/lib, it should pick up log4j.prop

Re: Log4j not logging hibernate

2007-11-02 Thread Paul Smith
Unfortunately, I cannot get any Hibernate logs on my tomcat logging file unless I explicitly set the attribute true on my hibernate.cfg.xml file. (and I can't get my queryparameters, on which I am interested in). This is really a Hibernate question. If you actua

Re: FileAppender location question

2007-11-02 Thread James A. N. Stauffer
Eclipse should let you set the working directory for when you run the program. I don't use it so I don't know exactly how to do it. On 11/2/07, mbraunwart <[EMAIL PROTECTED]> wrote: > > > I'm sorry, I don't know where I can set this at in the application, or > maybe > I might not have been clear.

Re: FileAppender location question

2007-11-02 Thread mbraunwart
I'm sorry, I don't know where I can set this at in the application, or maybe I might not have been clear. The problem that seems to be the case is that, I imported the project into eclipse, but not in my workspace, it stores the logs, without a definite path set, to where eclipse is running from,

Re: FileAppender location question

2007-11-02 Thread James A. N. Stauffer
The relative path should be from the running working directory so change the working directory for each program. On 11/2/07, mbraunwart <[EMAIL PROTECTED]> wrote: > > > When I started a couple tutorials for Log4J in eclipse, it would store the > file inside of the folder i specified in the root of

FileAppender location question

2007-11-02 Thread mbraunwart
When I started a couple tutorials for Log4J in eclipse, it would store the file inside of the folder i specified in the root of the project folder without having to give it a full path. This current project that I am working with, taking pretty much the same xml and idea from the tutorials, I am

Log4j not logging hibernate

2007-11-02 Thread wild_oscar
My current log4j properties file has the following input regarding Hibernate: [code] log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUT