<div dir="ltr">Hi folks,<br>
<br>
This is my configuration <br>
{code}<br>
<configuration><br>
<appender name="SIFT"
class="ch.qos.logback.classic.sift.SiftingAppender"><br>
<discriminator><br>
<key>descriminatorId</key><br>
<defaultValue>unknown</defaultValue><br>
</discriminator><br>
<sift><br>
<appender
class="ch.qos.logback.core.FileAppender"><br>
<file>runtime/datamanager/${descriminatorId}.html</file><br>
<layout
class="ch.qos.logback.classic.PatternLayout"><br>
<pattern><div
class="%p">%d \(%thread\) [%logger{0}
:%line:%-5level] %msg%n%rEx</div></pattern><br>
</layout><br>
</appender><br>
</sift><br>
</appender><br>
<br>
<root level="ALL"><br>
<appender-ref ref="SIFT" /><br>
</root><br>
</configuration><br>
{code}<br>
<br>
the logs contains '-2' instead of line number.<br>
<div class="" style="background-color:rgb(183,252,181);margin:4px;color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">2013-06-21 11:31:09,196
(http-0.0.0.0-8443-2) [DataImportEvents :-2:INFO ]
=====================data import==============</div>
<div class="" style="background-color:rgb(252,195,181);margin:4px;color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">2013-06-21 11:31:09,201
(http-0.0.0.0-8443-2) [DataImportEvents :-2:ERROR]
=====================data import==============</div>
<br>
any one have any idea?<br>
<br class="">
<br>
<pre class="" cols="72">--
Kind Regards
Pravin Patil
HotWax Media Pvt Ltd.
</pre><pre class="" cols="72" style>direct :+91 9039689196</pre></div>