
5 May
2013
5 May
'13
5:22 p.m.
Try %X{req.xForwardedFor,NONE} But :- would make more sense. David On 5 May 2013, at 18:18, Yoni Moses <yoni.moses@gmail.com> wrote:
Hi,
I've been trying to use the new feature of the MDC without any luck.. it's probably a silly question, but can someone please post exact format for it?
I've tried it without any luck...
from what I've seen in the examples it seems like
%X{req.xForwardedFor:-NONE}
should work.. but for me it keeps on saying: ScanException: Expecting }
under Parser.expectCurlyRight
version is 1.0.12 with slf4j 1.7.5
Help is much appreciated ;)
-- Cheers, Yoni _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user