[logback-user] How could i get the file path that i set in appender in logback
praveen patil
iampraveenpatil at gmail.com
Wed May 29 11:20:33 CEST 2013
Hi folks,
How could i get the file path that i set in appender - the following is
appender i am using.
<appender name="SIFT" class="ch.qos.logback.classic.sift.SiftingAppender">
<discriminator
class="com.hotwaxmedia.logger.ThreadNameBasedDiscriminator"/>
<sift>
<appender class="ch.qos.logback.core.FileAppender">
<file>runtime/logs/app-${threadName}.html</file>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern><div class="%p">%d
\(${threadName}\) [%logger{0} : %-5level] %msg%n%rEx</div></pattern>
</layout>
</appender>
</sift>
</appender>
please help.
Thanx and regards
praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130529/93571baa/attachment-0001.html>
More information about the Logback-user
mailing list