Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Apply a JUL log Handler to only one web app?

> 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

Back to the top