Set up an appender for each file you want created, including a base appender that goes to your default file.<div><br></div><div>Set up loggers that point the appropriate class log statements to the appropriate appender.</div>
<div> (*Chris*)</div><div><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 4:10 PM, Dan Franks <span dir="ltr"><<a href="mailto:dan.franks@gmail.com" target="_blank">dan.franks@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
I think my question has been answered before, but I will be damned if<br>
I can find it. Basically I have three classes (orangeClass,<br>
purpleClass, greenClass) that I want to log to their respective files<br>
(orangeFile, purpleFile, and greenFile).<br>
<br>
I would need to have a default log file that catches everything not<br>
coming from those classes as well. The last requirement is that I can<br>
change each one to debug/warn/info independently of each other.<br>
<br>
Can you point me in the right direction?<br>
<br>
Thanks in advance,<br>
Dan<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote></div><br></div>