[logback-user] Converter Bug?

Natan Cox natan.cox at tenforce.com
Wed Nov 19 13:42:05 CET 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20081119/d4b5d919/attachment.htm 


More information about the Logback-user mailing list