[logback-user] Fwd: [slf4j-user] How to get the filename used by an appender

Ulrich Forums at gombers.de
Mon Jun 17 22:35:34 CEST 2013


So I will ask my question here: Is it possible to get known the name of the file used for logging?
Ulrich


Anfang der weitergeleiteten E‑Mail:

> Von: Ulrich <Forums at gombers.de>
> Datum: 17. Juni 2013 21:31:58 MESZ
> An: User list for the slf4j project <slf4j-user at qos.ch>
> Betreff: Re: [slf4j-user] How to get the filename used by an appender
> Antwort an: User list for the slf4j project <slf4j-user at qos.ch>
> 
> To be honest, I don't know how the Logger-Implementation intercepts SLF4J. But referring to a special logger from an application is a contradiction of the idea behind SLF4J. From my point of view there should be a programmatical opportunity to get hold of the logs.
> Butbthank you anyway - I will ask my question to the logback mailing list.
> 
> Am 17.06.2013 um 17:43 schrieb Ceki Gülcü <ceki at qos.ch>:
> 
>> 
>> In that case, please post your question on the logback-user mailing list.
>> 
>> On 6/17/2013 5:41 PM, Ulrich wrote:
>>> I'm using logback.
>>> 
>>> Am 17.06.2013 um 14:16 schrieb Ceki Gülcü <ceki at qos.ch>:
>>> 
>>>> 
>>>> Which logging framework are you using? SLF4J does not have a notion of appenders...
>>>> 
>>>> On 6/17/2013 2:01 PM, Ulrich wrote:
>>>>> Is it possible to get the filename/resource used by an appender?
>>>>> Ulrich
>>>>> _______________________________________________
>>>>> slf4j-user mailing list
>>>>> slf4j-user at qos.ch
>>>>> http://mailman.qos.ch/mailman/listinfo/slf4j-user
>>>> _______________________________________________
>>>> slf4j-user mailing list
>>>> slf4j-user at qos.ch
>>>> http://mailman.qos.ch/mailman/listinfo/slf4j-user
>>> _______________________________________________
>>> slf4j-user mailing list
>>> slf4j-user at qos.ch
>>> http://mailman.qos.ch/mailman/listinfo/slf4j-user
>> _______________________________________________
>> slf4j-user mailing list
>> slf4j-user at qos.ch
>> http://mailman.qos.ch/mailman/listinfo/slf4j-user
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130617/3a1103df/attachment.html>


More information about the Logback-user mailing list