[logback-user] parameter { } substitution is not happening with our custom appender

Joern Huxhorn jhuxhorn at googlemail.com
Tue Sep 21 23:26:44 CEST 2010

Hi Bob,

I'm making a wild guess:
Is it possible that your custom appender is using loggingEvent.getMessage() instead of loggingEvent.getFormattedMessage()?


On 21.09.2010, at 15:39, Bob DeRemer wrote:

> Hi Logback community,
> We created a custom appender to send logging data to our own storage medium.  It extends AppenderBase<ILoggingEvent> like the docs say, but for some reason, any logging statements where we use the logback parameter substitution (i.e. “message with parameter {}”, param1), there is no substitution.  We have our custom appender AND a FileAppender.  The fileappender has the parameter substituted, but the custom one does not. 
> If anyone has any suggestions, I would greatly appreciate.
> Thanks,
> Bob DeRemer
> Senior Director, Architecture and Development
> http://www.burningskysoftware.com
> O: 717.505.7923
> M: 717.881.3986
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100921/940fdd65/attachment.html>

More information about the Logback-user mailing list