Volker, 

Yes i was looking for a log4j configuration under jboss a long time. jboss 
normaly does the job perfectly e.g. with struts. But it's not the problem of 
jboss. It definitly has something todo with JSF & JBOSS. 

Have you ever tried to read property files from a jsf-backing bean  & jboss 
through getRessourceAsStram()? It doesn't work. Seems to be the same cause. 
Something is wrong with the file path but i don't understand why it's different 
between standalone tomcat and tomcat under jboss. (?!?!)

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 13:50
An: MyFaces Discussion
Betreff: Re: AW: How to configure logging

Hi,

Krause, Nico wrote:
> 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? 

Sorry, no idea how jboss will do this, i'm using a standalone tomcat and as you 
wrote it works there.

Have you searched for this on www.jboss.com?

--
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