Hey Indiver,

If you have not subscribed to the mailing list, you won't be able to see
the responses – including the one from Ralph I share below.

Would you mind explaining to us what you are trying to do, please? It
sounds non-idiomatic and maybe there is a better/alternative way to achieve
what you have in mind.

Kind regards.

On Sat, Jul 29, 2023 at 10:58 PM Ralph Goers <ralph.go...@dslextreme.com>
wrote:

> In a PatternConverter you have access to the object to be formatted (in
> the case where this is a LogEventPatternConverter this will be the whole
> LogEvent), the StringBuilder where the output should go (and where
> previously formatted results already are), and any options that were passed
> configured on the converter in the pattern. No, you do not have access to
> the entire pattern.
>
> Ralph
>
>
> > On Jul 28, 2023, at 11:51 PM, Indiver Singhal <indive...@gmail.com>
> wrote:
> >
> > Hi,
> > I have a requirement to print all thread context param that is not
> printed
> > yet or converted by looking whole pattern. In custom logeventconverter
> > class  I have access to already converted string and thread context map
> > containing all parameters...but I don't have access to log4j pattern for
> > which it belongs to. Is there any way to access pattern in converter
> class
> >
> >
> >
> >
> > --
> > *Thanks,*
> >
> > *Indiver Kumar,*
> > *Software Engineer,*
> > *8826469689*
>
>

Reply via email to