Logging Cross Functional categories in log4j

2006-10-25 Thread GoodOne
Hello All, This is my first posting so please bear with me. I am using log4j and I would like to log based on technical and functional partitions of the application so that I can filter logs later. So technical partition would include EJB, Persistence, Servlet, BusinessTier etc while functional

Re: Logging Cross Functional categories in log4j

2006-10-25 Thread James Stauffer
One good option: use loggers based on the class name as normal and set MDC values for the technical and functional partitions. On 10/25/06, GoodOne [EMAIL PROTECTED] wrote: Hello All, This is my first posting so please bear with me. I am using log4j and I would like to log based on technical

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

2006-10-25 Thread Bender Heri
} Heri -Original Message- From: GoodOne [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 6:54 PM To: Log4J Users List Subject: [SPAM (Bayesain Analysis)] - Logging Cross Functional categories in log4j - Bayesian Filter detected spam Hello All, This is my first

Re: Logging Cross Functional categories in log4j

2006-10-25 Thread GoodOne
Thank you. But if I want to change the debug level in config file for all EJBs across all functional partitions, would it be possible if i use MDC values? On 10/25/06, James Stauffer [EMAIL PROTECTED] wrote: One good option: use loggers based on the class name as normal and set MDC values

Re: Logging Cross Functional categories in log4j

2006-10-25 Thread Jacob Kjome
You can get that sort of behavior using an MDC based filters on various appenders. There was a thread about a week ago or so that suggested allowing for a custom class to be configured for a logger which would provide custom criteria to determine if a level is enabled. Of course, this is not

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

2006-10-25 Thread GoodOne
[mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 6:54 PM To: Log4J Users List Subject: [SPAM (Bayesain Analysis)] - Logging Cross Functional categories in log4j - Bayesian Filter detected spam Hello All, This is my first posting so please bear with me. I am using log4j and I

Re: Logging Cross Functional categories in log4j

2006-10-25 Thread Bender Heri
Subject: [SPAM (Keyword Checking)] - Re: [SPAM (Bayesain Analysis)] - Logging Cross Functional categories in log4j - Bayesian Filter detected spam - Found word(s) remove list in the Text body Thank you. But if I want to change the debug level in config file for EJBs across all functional

Re: Logging Cross Functional categories in log4j

2006-10-25 Thread James Stauffer
Do you only want to change the debug leve for functional partitions or also technical partitions? On 10/25/06, GoodOne [EMAIL PROTECTED] wrote: Thank you. But if I want to change the debug level in config file for all EJBs across all functional partitions, would it be possible if i use MDC

Re: Logging Cross Functional categories in log4j

2006-10-25 Thread GoodOne
The scenario is like this: I have a massive clustered application. Uses SOA with services, webcomponents, EJBs, software agents distributed all over. They all log with their CellName, ClusterName, NodeName, AppName, ServiceName, OtherNames in their local space. Lets say we have a mechanism to