[logback-user] Changing the caller data

Ralph Goers rgoers at apache.org
Tue Aug 18 00:52:07 CEST 2009


Take a look at LoggerWrapper in the extensions project. The look at  
XLogger.

Ralph

On Aug 17, 2009, at 2:37 PM, Mel T. wrote:

> Hi,
>
> I created an internal facade around the slf4j (classic logback) logger
> used for specialized logging.
> By doing so, the caller data is retrieving my facade instead of the
> caller of my facade.
>
> A brief look at the code, seems to tell me that there is no way to
> change that behavior from the outside: calls that could allow me to
> change the FQCN, or the localFQCN passed around are either private or
> final.
>
> Any recommendation?
>
> --
> Mel T.
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user



More information about the Logback-user mailing list