Is no one else having issues logging 3rd party libraries?  I am unable to get
any hibernate or spring logs.  I have tried creating several different
tapestry test projects using the 5.0.7 archetype but with I still get
nothing.  They all seem to only log tapestry framework and "my pages" logs. 
Could someone who has success logging hibernate post their log4j.properties
file? Please. Pretty Please ... with sugar on top.

thanks,
B



buckofive wrote:
> 
> Hi all,
> 
> I'm stuck at the moment trying to get log4j to log any 3rd party
> libraries.  It seems to work fine for classes within my web project(ie
> page classes etc.) and if I set the root level to debug I get what looks
> like mostly  web container statements.  Any help would be much
> appreciated.  
> 
> Here is a very basic version of my log4j.properties file:
> 
> [code]
> log4j.rootCategory=WARN, A1
> 
> # A1 is set to be a ConsoleAppender. 
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> 
> # A1 uses PatternLayout.
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=[%p] %c{1} %m%n
> 
> log4j.category.org.apache.tapestry.TapestryFilter=info
> log4j.category.org.apache.tapestry=error
> log4j.category.tapestry=error
> 
> log4j.category.com.jpa=error
> 
> # Service category names are the name of the defining module class
> # and then the service id.
> log4j.category.com.jpa.services.AppModule.TimingFilter=info
> 
> log4j.category.org.hibernate=debug
> 
> [/code]
> 
> 
> Whats weird is these settings works fine in a non-tapestry application.  I
> created my project with the tapestry 5.0.7 archetype and my file is
> located in <project>\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 Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to