Re: How to have ThreadContext be pre-populated?
Gary Gregory <[email protected]>
| Newsgroups | gmane.comp.jakarta.log4j.user |
|---|---|
| Message-ID | <CACZkXPzFvdYEY8GifuxBHR_TLTckBEDpkiLjkgNvvuDLmJapPw@mail.gmail.com> |
An example would help... Gary On Fri, Mar 4, 2022 at 8:52 AM Morten Sabroe Mortensen < [email protected]> wrote: > I miss a handler or a mechanism to have ThreadContext be pre-populated. > > Does anything exist which is called once per thread -- and without explicit > invocation by my program, of course -- ? > > The values I want to pre-populate with are non-trivial and need to be read > by code; they are not constants. > > -- > Med venlig hilsen > Morten Sabroe Mortensen >