[logback-user] appender file name using name of warfile directory

Volker Hochstein vhochstein at googlemail.com
Wed Jan 11 17:00:35 CET 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120111/8de2e67f/attachment.html>


More information about the Logback-user mailing list