You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Todd Flautt <tf...@csc.com> on 2005/02/04 18:35:51 UTC

Help Please - Chainsaw configuration

I have a PatternLayout of 

        %d %c %-5p [%t] - %x - %m - %X{UserID}%n 

with a corresponding LogFilePatternReceiver layout of 

        TIMESTAMP LOGGER LEVEL [THREAD] - NDC - MESSAGE - PROP(UserID)

The behavior that is exhibited is any log statement that does not have the 
MDC UserID will cause Chainsaw to throw a 'non matching line' entry in the 
chainsaw-log.  This same behavior is exhibited if an NDC is not present. 
Is this the intended behavior in each case?  If so it seems to me that the 
behavior exhibited should be the same as if there is no MESSAGE text. 
Comments please?

Thanks

Todd