RE: Interaction between Log4J and JUnit swingui

2003-01-22 Thread Dyson, Steve
Simone, I added the line "excluded.9=org.apache.log4j.*" and it works well now. Thanks for your help. Steve -Original Message- From: Cato, Simone [mailto:[EMAIL PROTECTED]] Sent: 21 January 2003 15:34 To: 'Dyson, Steve' Subject:RE: Interaction between Log4J and JUnit

C++ logging solutions

2003-01-22 Thread Lutz Michael
I apologize in advance for this question being asked on the Log4j list, but unfortunately I'm running out of options. My organization requires a C++ logging solution, and after looking carefully at the Log4j ports to C/C++, I'm finding important functionality missing and maturity lacking somewha

additivity in PropertyConfigurator

2003-01-22 Thread Evans Mark-PT1167
I need help setting the additivity in my log4j properties file. (It doesn't seem to be working for me.) I want to log a specific class (logger) to one file, (and in my example below log a second class (logger) to another file), while logging the rest of my classes to a third file (root logge

RE: additivity in PropertyConfigurator

2003-01-22 Thread Ebersole, Steven
additivity is an attribute of the logger/category, not the appender... As such, instead of: log4j.category.com.printrak.me4=DEBUG, R4 log4j.additivity.R4=false you want: log4j.category.com.printrak.me4=DEBUG, R4 log4j.aditivity.com.printrak.me4=false |-Original Message

RE: additivity in PropertyConfigurator

2003-01-22 Thread Evans Mark-PT1167
That did the trick. Thanks! -Original Message- From: Ebersole, Steven [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 11:44 AM To: 'Log4J Users List' Subject: RE: additivity in PropertyConfigurator additivity is an attribute of the logger/category, not the appender... As

Re: C++ logging solutions

2003-01-22 Thread Alexander_Anderson
Depending your specific requirements for a logging solution, your other option is to use whatever logging services are available on your OS. What I have in mind is Syslog on BSD/Linux or Event Log on Windows. I always considered it to be a "standard" for logging if you are developing for a spe

RE: additivity in PropertyConfigurator

2003-01-22 Thread Daniel Serodio
Shouldn't PropertyConfiguration report this as an error? []'s Daniel Serodio On Wed, 2003-01-22 at 17:43, Ebersole, Steven wrote: > additivity is an attribute of the logger/category, not the appender... > > > As such, instead of: > log4j.category.com.printrak.me4=DEBUG, R4 > log4j.addit

Multiple log files for multiple Servlet applications?

2003-01-22 Thread Peter Parker
First is it logical to use log4j to log messages from multiple servlets to their specified log files (i.e., one log file per servlet) in the same servlet container (i.e. Tomcat)? I tried just that and it seems to work for a bit and then for some reason, all the messages from the different servlets

RE: additivity in PropertyConfigurator

2003-01-22 Thread Evans Mark-PT1167
I suppose that R4 could be a valid logger. In that case, the log4j.additivity.R4=false would be valid yet yield unexpected results. --Mark -Original Message- From: Daniel Serodio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 1:56 PM To: Log4J Users List Subject: RE: addit

Any good setup examples with JMSAppender and JMSSink?

2003-01-22 Thread Jonathan Cowherd
I'd like to investigate the JMSAppender and JMSSink. I assume that JMSSink works similar to SocketServer where it has it's own log4j repository internally and would have a log4j.properties file that would add appenders for LoggingEvents that it received from the JMSAppender. Anyone have

Problem MalformedURLException

2003-01-22 Thread Osvaldo A. Cifuentes R.
hi to all! I'm rather new to log4j, I am using tomcat 4.1.18,log4j-1.3alpha and commons-logging. when I place the log4j.xml in /WEB-INF/classes I observe an exception log4j:ERROR Could not parse input source [org.xml.sax.InputSource@770d2e]. java.net.MalformedURLException: no protocol: log4

Log 4J Help

2003-01-22 Thread Raghuram Bhardwaj C
Hi All, How to use log4j for database logging? Is there any comparision document between log4j and weblogic non-catalog = logger? What are the pro's and con's of log4j? How can we suggest to the customers that Log4J is better than any other = logger? Any comments/feedback/pointers to info source

NT Event Log Appender doesn't work with large strings

2003-01-22 Thread Dunn, Kiril
I just discovered that when given a string longer than about 36K, the NT Event Log Appender simply ignores the message, rather than raising an exception or somesuch. This is an issue with Windows having a maximum length for log entries, but should still be handled cleanly by Log4J. I've attached a