[logback-user] Changing the caller data

Mel T. machintruc at gmail.com
Tue Aug 18 02:31:02 CEST 2009


I did not look in SLF4J extension before asking that question. Seems
to be the neat way to do this. Thanks.

On Mon, Aug 17, 2009 at 6:52 PM, Ralph Goers<rgoers at apache.org> wrote:
> 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
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>


More information about the Logback-user mailing list