IMHO, you should not try to put logging config in your app. Logging is something you'll want to configure differently in each environment (UAT, prod, your dev, your mate's dev, etc) without changing the app.
So, since you mentioned you want to run in JBoss 7 (but you didn't mention which one - there are many 7.*), I'd suggest you google "jboss 7.1.1 configure log4j" And don't forget about -Dlog4j.configuration=yourPropertyFilePath. Maybe you could put that in JAVA_OPTS before you start JBoss. On 27/03/2014, at 12:05 AM, Vasili Petrenko wrote: > Hi. > thank you. What I should do to control logging log4j in tapestry app. I only > put log4j.properties file in resource folder and have no effect. > > Must I do more? > > -----Ursprüngliche Nachricht----- > Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Gesendet: Mittwoch, 26. März 2014 12:54 > An: Tapestry users > Betreff: Re: log4j.properties configuration not working > > On Wed, 26 Mar 2014 07:59:58 -0300, Vasili Petrenko > <vasili.petre...@devintime.de> wrote: > >> Hi. > > Hi! > >> I'm using Tapestry 5.3.7 with JBOSS 7 application server. My log4j >> configuration don*t work. > > I'm sorry, but this question is related to log4j, not Tapestry, so it's > off-topic and shouldn't have been posted here. And you didn't even describe > what do you mean by "doesn't work", so even if it were on-topic we wouldn't > be able to help. > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org