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 p

Re: Logging "Cross Functional" categories in log4j

2006-10-25 Thread GoodOne
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 and functional > partitions of the applicatio

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

2006-10-25 Thread GoodOne
%X{category_tech} %X{category_func} 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 - Bay

Re: Logging "Cross Functional" categories in log4j

2006-10-25 Thread GoodOne
ge 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 > values?

UUID Integration with log4j

2006-11-10 Thread GoodOne
Greetings! I am wondering how I could have UUID in the log file without the user explicitly using it in the application code. Thank you, The Good One.

Extending log4j Logger

2006-11-14 Thread GoodOne
Greetings! I am trying to extend log4j Logger, something like class A subclassing Logger. I would like to have an instance of class A returned than log4j Logger's instance. Any idea? Thank you, The Good One.

Re: Extending log4j Logger

2006-11-14 Thread GoodOne
final class MyLogger extends Logger{ protected MyLogger(String name){ super(name); } public static org.apache.log4j.Logger getLoggerInstance(String name){ return new MyLogger(name); } } Thank you. The Good One. On 11/14/06, GoodOne <[EMAIL PROTECTED]> wrote: Greetings! I am try