Hi Jim,

I was trying to configure log4j for my application too.
At the end of the day i used commons logging because i got it working. It is 
currently logging now into the main logfile of jboss. 

I had some troubles of getting log4j workin within jboss.
Log4j seems not to find any log4j.property as in usual servlet containers. 
(tomcat standalone with jsf works - strange)

Volker: Where i have to put the from you stated log4.xml?
Will log4j find it? 

Thank you in advance,

Nico

 


Nico Krause| Software Development| TomTom WORK | [EMAIL PROTECTED] | +49 
(0)1749891949 mobile | +49(0)34124495-0 office | +49(0)34124495-25 fax | 
www.tomtomwork.com

-----Ursprüngliche Nachricht-----
Von: Volker Weber [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 17. März 2006 11:37
An: MyFaces Discussion
Betreff: Re: How to configure logging

Hi Jim,

a example how to configure log4j can found in tobagos example applications e.g. 
here:
http://tinyurl.com/psuen

full doku is here:
http://logging.apache.org/log4j/docs/documentation.html


Regards,
  Volker

Jim Graf wrote:
> Hi,
> 
> I need to trace my webapp (a combination of myfaces and adf) and I 
> found
> this:
> 
> http://wiki.apache.org/myfaces/LoggingSettings
> 
> but as I've never used commons-logging or log4j, I have no idea of how 
> or where to configure that information. I'm using tomcat 5.0.x and I'm 
> not using any IDE.
> 
> I would appreciate any information or example.
> 
> thanks,
> jim
> 
> 

--
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by concatenating my forename to my 
senders domain.

Reply via email to