Re: DatePattern question

2008-09-17 Thread Reza Razavipour
'.log' Reza Razavipour-2 wrote: All, how do I set and get DatePattern attribute from a DailyRollingFileAppender, in code? Thanks Reza - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: DatePattern question

2008-09-17 Thread Reza Razavipour
Thanks for the hint, my version of log4j does not have such support, I did RTFM :) Which version of log4j has these methods? I will check again though. Thanks Reza On Wed, Sep 17, 2008 at 12:35 AM, Michael Erskine [EMAIL PROTECTED] wrote: how do I set and get DatePattern attribute from a

DatePattern question

2008-09-16 Thread Reza Razavipour
All, how do I set and get DatePattern attribute from a DailyRollingFileAppender, in code? Thanks Reza - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

log4j files and parsing and presentation

2008-09-16 Thread Reza Razavipour
All, I am tasked with writing a log4j file aggregator/viewer. Search criteria such as date ranges and etc... Any support for log4j file parsing? Combining a set of log files? Any pointers are appreciated. Thanks Reza - To

Re: log4j files and parsing and presentation

2008-09-16 Thread Reza Razavipour
111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -Original Message- From: Reza Razavipour [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 3:38

Re: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam

2008-09-09 Thread Reza Razavipour
to more than one Logger. Loggers are identified by a arbitrary String, commonly the FQCN. Therefore you cant clone a Logger which has the same name as the original. Explain more about your needs. Why do you have to clone it? Heri -Original Message- From: Reza Razavipour [mailto:[EMAIL

Re: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam

2008-09-09 Thread Reza Razavipour
Message- From: Reza Razavipour [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2008 5:38 PM To: Log4J Users List Subject: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam All, I have a Logger object and I need to create a clone

Logger object and change filename

2008-09-08 Thread Reza Razavipour
All, I have a Logger object and I need to create a clone of it and change its filename to a different name. How does one do that? The idea here is that I have initialized a Logger instance from log-4j.xml file. Now I need to create a new one, off of it or clone and change the filename. Every

Re: How to get values from log4j.xml file

2008-08-26 Thread Reza Razavipour
= serverAppender.getName(); } serverAppender is always null. Any thoughts on this? Thanks Reza On Tue, Aug 26, 2008 at 12:25 AM, Bender Heri [EMAIL PROTECTED] wrote: Logger.getLogger().getAppender( SERVER_LOG ); -Original Message- From: Reza Razavipour [mailto:[EMAIL PROTECTED

How to get values from log4j.xml file

2008-08-25 Thread Reza Razavipour
All, I have a log4j.xml file for my application. I have something like the following in the file: appender name=SERVER_LOG class=org.jboss.logging.appender.DailyRollingFileAppender errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ param

which config file

2008-08-25 Thread Reza Razavipour
All, how can I programmatically determine the URL to the xml file that my app has configured itself based on? What I am trying to do is to get the URL, load it into a DOMConfigurator so I can determine the specifics of an appender. Is there a better way? Thanks Reza

each thread needs a log4j file

2008-08-22 Thread Reza Razavipour
All, I have a thread pool and a set of managed objects. I need to have one log4j file for each of the managed objects. I need to do this dynamically since the number of managed objects will vary during the life of the application. Any thoughts on this? Thanks Reza

Re: each thread needs a log4j file

2008-08-22 Thread Reza Razavipour
note played hesitatingly is a wrong note. A wrong note played with conviction is interpretation. Reza Razavipour [EMAIL PROTECTED] 08/22/2008 09:39 AM Please respond to Log4J Users List log4j-user@logging.apache.org To log4j-user@logging.apache.org cc Subject each thread needs a log4j