Try

%X{req.xForwardedFor,NONE} 
 
But :- would make more sense. 

David

On 5 May 2013, at 18:18, Yoni Moses <[email protected]> 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
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to