Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-08 Thread buckofive
debug log4j.category.org.springframework=debug log4j.logger.net.sf.hibernate=debug log4j.category.net.sf.hibernate=debug #log4j.category.org.hibernate=info log4j.category.org.hibernate=debug ### log HQL query parser activity #log4j.category.org.hibernate.hql.ast.AST=debug ### log just the SQL l

Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-08 Thread Daniel Jue
I just realized my non-tapestry pages are using org.apache.log4j.Logger; not slf4j. On Jan 8, 2008 11:32 AM, Daniel Jue <[EMAIL PROTECTED]> wrote: > I like to make mine static in the non-tapestry pages: > > private static Logger logger = Logger.getLogger(DAOUtil.class); > > Perhaps this is

Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-08 Thread Daniel Jue
I like to make mine static in the non-tapestry pages: private static Logger logger = Logger.getLogger(DAOUtil.class); Perhaps this is a good time to learn how I can use Tapestry IOC for the non Tapestry portion of my web app? That would be pretty cool. Here is an excerpt from my log4j.pr

Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-08 Thread Davor Hrg
for tapestry services just define "Logger logger" as constructor parameter.. Davor Hrg On Jan 8, 2008 9:22 AM, Steph <[EMAIL PROTECTED]> wrote: > How do you get your logger in your code ? > The injection > @Inject > private Logger log; > is only useable in Tapestry pages, components, ...

Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-08 Thread Steph
How do you get your logger in your code ? The injection @Inject private Logger log; is only useable in Tapestry pages, components, ... It will log nothing in your other classes managed by Spring, Hibernate, ... Outside of Tapestry, you should use something like the line below to use slf4j :

Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-07 Thread Andy Huhn
Hi Buckofive, Here are a couple of relevant lines from my log4j.properties file. My file is in src/main/resources: log4j.logger.org.hibernate=info ### log HQL query parser activity #log4j.logger.org.hibernate.hql.ast.AST=info ### log just the SQL log4j.logger.org.hibernate.SQL=debug This seem

Re: [T5] 5.0.7 - Help with log4j.properties file

2008-01-07 Thread buckofive
gt; located in \src\main\resources\log4j.properties. Am I missing > something or doing something wrong? > > thanks in advance, > B > > -- View this message in context: http://www.nabble.com/-T5--5.0.7---Help-with-log4j.properties-file-tp14611599p14678257.html Sent from the Tape

[T5] 5.0.7 - Help with log4j.properties file

2008-01-03 Thread buckofive
thing or doing something wrong? thanks in advance, B -- View this message in context: http://www.nabble.com/-T5--5.0.7---Help-with-log4j.properties-file-tp14611599p14611599.html Sent from the Tapestry - User mailing list archive at Nabbl