Hi Bob,
I'm making a wild guess:
Is it possible that your custom appender is using loggingEvent.getMessage()
instead of loggingEvent.getFormattedMessage()?
Cheers,
Joern.
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
> [email protected]
> http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user