appender file name using name of warfile directory

View: New views
1 Messages — Rating Filter:   Alert me  

appender file name using name of warfile directory

by Volker Hochstein :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

just a quick question.

let s assume I ve got a warfile application1 installed to tomcats webapps dir.

Do I have the possiblilty to do the following in my appender, without defining any properties of my own?

<file>${catalina.base}/logs/${somehow find out that it is application1 running}.log

Basically, if there is a property like catalina.base, which gives me the of the dir in webapps directory?

Thanks a lot in adance.

--
Volker

_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user