<html><body bgcolor="#FFFFFF"><div>I think you want logback-access which is used to log webserver access logs.&nbsp;<br><br>On 26 Aug 2011, at 05:07, "Vivek M.V" &lt;<a href="mailto:vivek.mv@enzentech.com">vivek.mv@enzentech.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>

<div><font face="Verdana" size="2">Hi ,<br>I'm trying to implement the SLF4J 
+LogBack logging solution to implement logging in my application .<br>I've 
modified the Pattern Expression in the logback.xml as below.<br></font></div>
<div><font face="Verdana" size="2">&nbsp;&lt;Pattern&gt;%d{dd MMM 
yyyy&nbsp;HH:mm:ss.SSS}&nbsp;%logger{36}&nbsp;%M-%msg%n&lt;/Pattern&gt;</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2"><br>And its working fine . However I'd like to 
print the 'error code ' as well in my log say 404 or 500 as well . Any ideas on 
how I should be modifying my pattern expression for 
this?<br>Thanks.</font></div><font face="Verdana" size="2"></font>
<br><pre><font face="Arial" style="font-size:9pt">This e-mail, and any attachments are strictly confidential and may also contain legally privileged information. It is intended for the addressee(s) only. If you are not the intended recipient, please do not print, copy, store or act in reliance on the e-mail or any of its attachments. Instead, please notify the sender immediately and then delete the e-mail and any attachments.

Unless expressly stated to the contrary, the views expressed in this e-mail are not necessarily the views of Enzen Technologies (P) Limited or any of its subsidiaries or affiliates (Group Companies), and the Group Companies, their directors, officers and employees makes no representation and accept no liability for the accuracy or completeness of this e-mail. You are responsible for maintaining your own virus protection and the Group Companies do not accept any liability for viruses. Enzen reserves the right to monitor and review the content of all messa
 ges sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Enzen e-mail system.</font>

</pre><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Logback-user mailing list</span><br><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br><span><a href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a></span><br></div></blockquote></body></html>