[logback-user] Are special charcters allowed in logger configurations?

Tony Trinh tony19 at gmail.com
Wed Jan 4 12:38:19 CET 2012


I just tried logback.xml with square brackets in the logger name and didn't
see any apparent problems (the logger printed log statements as expected).

-Tony

On Wed, Jan 4, 2012 at 4:42 AM, Noman Amir Jamil <n.amir.jamil at gmail.com>wrote:

> Hi,
>
> I would like to know if the following issue is resolved in logback, it was
> previously encountered in log4j:
>
> "there are known issues with using this naming convention (with square
> brackets) in log4j XML based configuration files"
>
> I am using a similar configuration with square brackets:
>
> logger
> name="org.apache.catalina.core.ContainerBase.[Catalina].[localhost]"
> level="INFO" additivity="false">
>
> But it appears that the portion after ContainerBase is being ignored or
> not processed.
>
> I would really appreciate any help on this.
>
> Thanks
> Noman A.
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120104/a9686e3a/attachment.html>


More information about the Logback-user mailing list