[logback-user] Converter Bug?
Ceki Gulcu
listid at qos.ch
Wed Nov 19 14:15:38 CET 2008
Natan,
Thanks for the informaiton. Could I ask you to file a jira issue?
Natan Cox wrote:
> Hi,
>
> I'm trying to use a converter in HtmlLayout but it was not logged
> correctly. I'm basically getting a "PARSER_ERRER".
>
> I checked the code and found
>
> HTMLLayoutBase.start() does this.head = p.compile(t,
> getDefaultConverterMap());
>
> where
> protected Map<String, String> getDefaultConverterMap() {
> return PatternLayout.defaultConverterMap;
> }
>
> But PatternLayoutBase.start() does this.head = p.compile(t,
> getEffectiveConverterMap());
> and getEffectiveConverterMap loads the extra converters.
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the Logback-user
mailing list