
19 Nov
2008
19 Nov
'08
1:15 p.m.
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