Test - ignore

2005-12-20 Thread Charles Tuckey
-- Regards, Charlie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Log4j Messages into different files based on diffent Levels

2005-12-20 Thread krishna kumar
Hi, Try with this XML Configuration...and let us know whetehr it works for u or not. Here it is:;;

Re: log4j documentation help?

2005-12-20 Thread James Stauffer
I agree but I think it might be a good source for documentation. If people add info to the wiki as they find it then looking though the wiki would be helpful for making documentation. I just noticed the wiki so I can follow my own advice and start adding to it. On 12/20/05, Curt Arnold <[EMAIL P

Re: log4j xml configuration file parser error

2005-12-20 Thread Jacob Kjome
At 09:13 AM 12/20/2005 -0500, you wrote: >Hi, > >I am getting the following error from log4j (version 1.2.8) during the >configuration. > I think Curt did some fixing of DTD handling in 1.2.9. Please upgrade to 1.2.9 or, better yet, the latest release version, which is 1.2.13. Jake >;---

Re: How to add a new logging level that is independent of the defualt ones.

2005-12-20 Thread Curt Arnold
On Dec 20, 2005, at 5:45 AM, Joseph, Shinoy wrote: Hi, I am in need of adding a new level logging in to the log4j. Requirement is that the new level should be independent of the existing levels(debug,warn,info error,fatal etc). I have added the new level by extending Level, Logger an

RE: How to add a new logging level that is independent of the defualt ones.

2005-12-20 Thread Joseph, Shinoy
Kindly put u r comments in english ;) -Original Message- From: DeMZed [mailto:[EMAIL PROTECTED] Sent: Tue 12/20/2005 8:10 AM To: Log4J Users List Subject: Re: How to add a new logging level that is independent of the defualt ones. Bonne route, et fais gaffe aux bras allongés ;) 2005/1

Re: log4j documentation help?

2005-12-20 Thread Curt Arnold
On 12/20/05, James Stauffer <[EMAIL PROTECTED]> wrote: How about putting it in a wiki? Most of my helpful additions for documentation would just come as learn/use the code so that would be the easiest way to add helpful tidbits. There is a Wiki at http://wiki.apache.org/logging-log4j/, but it

Re: log4j documentation help?

2005-12-20 Thread Ron Grabowski
Are you looking for something like this: http://logging.apache.org/log4net/release/manual/configuration.html http://logging.apache.org/log4net/release/config-examples.html Examples showing how to use each of the built-in appenders is helpful. - Original Message From: Mark Womack <[EM

Re: Log4j Messages into different files based on diffent Levels

2005-12-20 Thread James Stauffer
You can setup 5 appenders on the root logger and then use a LevelMatchFilter on each appender to get only one level. I find that it is useful to have appenders that include a level and all higher levels. i.e. Debug appender will have all logs, info will have info and higher, etc. To do that just s

Re: log4j documentation help?

2005-12-20 Thread Mark Womack
Wiki is good for learnings, and we can certainly do that, but we are looking to provide something more concrete/permanent than just wiki pages. We have started looking at tools like Maven2 which can provide a lot information about the project, but as I said, we want to start creating "users manual

RE: Log4j Messages into different files based on diffent Levels

2005-12-20 Thread Philip Denno
Are you are asking how to send different level messages to different files using one logger? If this is the case then I think the answer is that it is not possible. If you really need to separate the level messages then you would need to use different loggers for each level. Can I ask what the r

Re: Log4j Messages into different files based on diffent Levels

2005-12-20 Thread Sravan Duggaraju
I have gone through the document and tried to implement it...but the messages are showing in all files. My requrement is information related messages should go to AuditLog and Error messages should go to ErrorLog. i was setting the messages like logger.info("this is info message"); logger.erro

Re: Log4j Messages into different files based on diffent Levels

2005-12-20 Thread Sravan Duggaraju
I have gone through the document and tried to implement it...but the messages are showing in all files. My requrement is information related messages should go to AuditLog and Error messages should go to ErrorLog. i was setting the messages like logger.info("this is info message"); logger.error

Re: Log4j Messages into different files based on diffent Levels

2005-12-20 Thread James Stauffer
That is easy to do. The documentation should explain how to do that. Look into appender thresholds and level filters. On 12/20/05, Sravan Duggaraju <[EMAIL PROTECTED]> wrote: > Hi, > Using log4j can we log different level msgs (like > DEBUG,ERROR,INFO etc) in separate file appenders? > For exam

Log4j Messages into different files based on diffent Levels

2005-12-20 Thread Sravan Duggaraju
Hi, Using log4j can we log different level msgs (like DEBUG,ERROR,INFO etc) in separate file appenders? For example, all the 'INFO' messages go to AuditLog. 'ERROR' messages would go to ErrorLog .. Please let me know if any option is avaialble to perform this. I appreciate if you can send the pro

Re: log4j documentation help?

2005-12-20 Thread James Stauffer
How about putting it in a wiki? Most of my helpful additions for documentation would just come as learn/use the code so that would be the easiest way to add helpful tidbits. On 12/20/05, Mark Womack <[EMAIL PROTECTED]> wrote: > One of the tasks for the log4j 1.3 release (or even before that) is t

log4j documentation help?

2005-12-20 Thread Mark Womack
One of the tasks for the log4j 1.3 release (or even before that) is to create a better documentation set for log4j. This would be both the documentation that ships at part of the release and what is available from the web. I am speaking for myself, but I think most of the committers agree, that t

RE: RollingFileAppender help

2005-12-20 Thread Philip Denno
For application start, you don't need to subclass. Just find the entry point in your application and write the header into the file. To write into it at rollover I think you do need to subclass and reimplement the rollOver method. Cheers, Philip. -Original Message- From: krishna kumar [

log4j xml configuration file parser error

2005-12-20 Thread Rakesh Arora
Hi, I am getting the following error from log4j (version 1.2.8) during the configuration. ;- log4j:ERROR Could not find [log4j.dtd]. Used [EMAIL PROTECTED] class loader in the sea rch. log4j:ERROR Parsing error on li

Re: How to add a new logging level that is independent of the defualt ones.

2005-12-20 Thread DeMZed
Bonne route, et fais gaffe aux bras allongés ;) 2005/12/20, Joseph, Shinoy <[EMAIL PROTECTED]>: > > Hi, > I am in need of adding a new level logging in to the log4j. Requirement > is that the new level should be independent of the existing > levels(debug,warn,info error,fatal etc). > > I hav

RE: log4J ClassCastException

2005-12-20 Thread Burton Strauss
Not only does it have to be the same code, it has to be loaded in the same inheritance branch of the class loader hierarchy. See this article: http://www.onjava.com/pub/a/onjava/2003/11/12/classloader.html -Burton -Original Message- From: tam wei [mailto:[EMAIL PROTECTED] Sent: Tue

RollingFileAppender help

2005-12-20 Thread krishna kumar
Hello All, In my application i'm using Rolling file appender.I want to write some predefined information in the start of the file when my application starts and roll over occurs. I guess i need write a subclass of it. Is there any other way to do that? Thanks in advance. Regards, Krish.

Need Date and Time in HTMLFormat

2005-12-20 Thread antony.genil
Hi, In our application we would like to have the log date and time in HTMLFormat, in other formats the log date and time is available, we need the same time format in HTMLFormat instead of displaying the milliseconds after the thread have started. Is it possible in log4j? Your help wo

How to add a new logging level that is independent of the defualt ones.

2005-12-20 Thread Joseph, Shinoy
Hi, I am in need of adding a new level logging in to the log4j. Requirement is that the new level should be independent of the existing levels(debug,warn,info error,fatal etc). I have added the new level by extending Level, Logger and LoggingFactory classes. Is it possible to do that by cu

Re: Performance concerns logging to multiple files

2005-12-20 Thread Ceki Gülcü
Hello Isabel, Independent of the results of any performance benchmarks, I would recommend against opening a log file per user, especially if you have more than one or two accessing the system simultaneously. Many operating systems impose limitations on the number of files a process can keep o

Re: Performance concerns logging to multiple files

2005-12-20 Thread Isabel Beltran
Thanks you both for your quick answers. I'll try it and do some benchmark, still not sure what performance issues are with both options (one log file versus per-user log file). Regards, Isabel - To unsubscribe, e-mail: [E

log4J ClassCastException

2005-12-20 Thread tam wei
Dear all, I am using log4j 1.2.12 with jboss 4.0.2 . I got the following error while i started up my jboss server log4j:ERROR Could not create an Appender. Reported error follows. [20:12:05-15:03:36,554] [ INFO:STDOUT] [JMS SessionPool Worker-3] java.lang.ClassCastException: com.pdcb.fram