RE: [SPAM (Bayesain Analysis)] - Logging Cross Functional categories in log4j - Bayesian Filter detected spam

2006-10-25 Thread Bender Heri
Already considered to use MDC? i.e.: MDC.put( category_tech, EJB ) MDC.put( category_func, Plan ) try { myLog.x } finally { MDC.remove( category_tech ); MDC.remove( category_func ); } The pattern can resolve this MDC values with the %X switch: %X{category_tech} %X{category_func}

Re: [SPAM (Bayesain Analysis)] - Logging Cross Functional categories in log4j - Bayesian Filter detected spam

2006-10-25 Thread GoodOne
Thank you. But if I want to change the debug level in config file for EJBs across all functional partitions like Accounts,Servicing,Plan,Infrastructure etc, would it be possible if i use MDC values? On 10/25/06, Bender Heri [EMAIL PROTECTED] wrote: Already considered to use MDC? i.e.: