> Is
> there a common way to deal with this? Or do people not usually separate
> their logs by application like this?
> 
> I'm thinking I'll use thread local variables so the handler can discover
> if
> it's in the dynamic scope of a request or web context. This may be tricky
> in some cases.

Logback uses Jndi to distinguish between web contexts. Generally I would
include a separate copy of Logback in each application, though, which
solves a lot of problems.


-- 
  Carey Evans
  [email protected]
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to