log4j is on my classpath, but after further investigation, it seems my log4j 
takes another log4j.properties and not mine.

 Your solution work on my colleagues systems, so I guess it's a problem in my 
config, not MyFaces.....

Anyway, thanks for responding.

 Gérard COLLIN


On Friday 02 September 2005 18:03, Dennis Byrne wrote:
> Is the log4j binary in the classpath?  BTW, now we're talking
> about something that has nothing to do w/ JSF .
>
> ---- Original message ----
>
> >Date: Fri, 2 Sep 2005 10:44:02 +0200
> >From: Gérard COLLIN <[EMAIL PROTECTED]>
> >Subject: Re: How to get log ?
> >To: "MyFaces Discussion" <[email protected]>
> >
> >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
>
> Dennis Byrne

Reply via email to