
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. kr, N

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
participants (2)
-
Ceki Gulcu
-
Natan Cox