[logback-user] how to disable such logeger: LoggerFactory.getLogger("<< " + name + " >>");
Juraj Petko
juraj.petko at gmail.com
Wed Aug 11 09:03:06 CEST 2010
problem is, that this logger is inside a library, i can't change it,
just want to get rid of the debug messages :-)
> You would have to have a declaration for
>
> <logger name="<<name>>">
>
> for every name. The parent/child relationship in Logback requires the use of "." in the name. To use the logger named the way you have it the actuall logger name would have to be "<<." + name + ">>".
>
> Ralph
>
> On Aug 10, 2010, at 8:36 AM, Juraj Petko wrote:
>
>
>> hello, how could i set logging level to ERROR for such an logger:
>> LoggerFactory.getLogger("<< " + name + ">>");
>>
>> tried this in logback.xml, but doesn't work:
>>
>> <logger name="<<">
>> <level value="ERROR" />
>> </logger>
>>
>> thanks a lot, j
>> _______________________________________________
>> 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