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
> [email protected]
> http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user