Set up an appender for each file you want created, including a base
appender that goes to your default file.

Set up loggers that point the appropriate class log statements to the
appropriate appender.
  (*Chris*)

On Wed, Oct 10, 2012 at 4:10 PM, Dan Franks <[email protected]> wrote:

> Hello all,
>
> I think my question has been answered before, but I will be damned if
> I can find it.  Basically I have three classes (orangeClass,
> purpleClass, greenClass) that I want to log to their respective files
> (orangeFile, purpleFile, and greenFile).
>
> I would need to have a default log file that catches everything not
> coming from those classes as well.  The last requirement is that I can
> change each one to debug/warn/info independently of each other.
>
> Can you point me in the right direction?
>
> Thanks in advance,
> Dan
> _______________________________________________
> Logback-user mailing list
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to