RE: Using thread context data from a filter to decide whether to append...

2009-06-15 Thread Matt Lund
Bump J Hoping for some feedback... From: Matt Lund [mailto:[email protected]] Sent: Thursday, June 11, 2009 11:16 AM To: [email protected] Subject: Using thread context data from a filter to decide whether to append... Hi all. I'd like to know if I'm doing this

Using thread context data from a filter to decide whether to append...

2009-06-11 Thread Matt Lund
Hi all. I'd like to know if I'm doing this correctly. I want to set a value in ThreadContext.Properties from application code. I then want some appenders to log or not log based on this contextual information. I believe the right way to do this is to create a class that implements IFilter and ap