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
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
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
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
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
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
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
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
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
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
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
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
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
13 matches
Mail list logo