Thanks for the prompt reply.

 I put a log4j.properties file in WEB-INF/classes (???) containing your data, 
but nothing is logged.

 I think we must tell myfaces or log4j to use this file ?

 Gérard COLLIN


On Friday 02 September 2005 09:59, Dennis Byrne wrote:
> What happens if you put a file like this in the classpath
> called log4j.properties ?
>
> log4j.rootCategory=DEBUG, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%-5p %c - %m%n
>
> You'll also need the log4j jar as well.
>
> ---- Original message ----
>
> >Date: Fri, 2 Sep 2005 09:56:35 +0200
> >From: Gérard COLLIN <[EMAIL PROTECTED]>
> >Subject: How to get log ?
> >To: MyFaces Discussion <[email protected]>
> >
> >Hi,
> >
> > I see in MyFaces code lots of log.debug (...) and as I face
>
> a very strange
>
> >problem, I'm trying to get them displayed.
> >
> > I can't find anywhere in the doc how to get them.
> >
> > Can someone please help me ?
> >
> > Gérard COLLIN
>
> Dennis Byrne

Reply via email to