I'd like more information. Adding a property to a logger by itself does 
nothing. What happens to the property? Does it get added to the log event?

Ralph

On Feb 8, 2011, at 1:46 PM, Fabio Erculiani wrote:

> On Tue, Feb 8, 2011 at 4:50 PM, Ceki Gulcu <[email protected]> wrote:
>> On 08.02.2011 12:48, Fabio Erculiani wrote:
>> 
>> If you are familiar with log4j.xml it is fairly easy to convert a log4j.xml
>> to logback.xml. The hard part is mapping log4j classes to their logback
>> equivalents. (We have a tool which automates such conversions for
>> log4j.properties files).
> 
> That is also written in the manual. Still you haven't answered my
> questions ;-)))
> 
>> 
>> As for your Logger extensions, Markers may give you the flexibility you are
>> looking for. What does your logger extension do?
> 
> I need to set a property value on my custom Logger class, and I need
> to do it through logback.xml like I was able to do with log4j. If
> that's not possible, fine, I'll find another way to do the same. Just
> wanted to know if there would be a way from inside logback.xml.
> 
>> 
>> --
>> Ceki
>> 
>> _______________________________________________
>> Logback-user mailing list
>> [email protected]
>> http://qos.ch/mailman/listinfo/logback-user
>> 
> 
> 
> 
> -- 
> Fabio Erculiani
> _______________________________________________
> Logback-user mailing list
> [email protected]
> http://qos.ch/mailman/listinfo/logback-user

_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to