Hi,
Here is what I use to switch off the additivity for a logger named
com.vnl.app.crm2, my 'local parent' logger.
log4j.additivity.com.vnl.app.crm2=false
Cheers
Adrian
-Original Message-
From: Naresh Agarwal [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 15:11
To: [EMAIL PROTECTED]
actually there is some filtering ability available in the normal properties
file, probably enough for you needs:
log4j.appender.MyAppender.Threshold=INFO
Cheers
Adrian
-Original Message-
From: Kevin Dougan [mailto:[EMAIL PROTECTED]
Sent: 09 October 2003 05:16
To: Log4J Users List
you don't seem to setup the appender named 'das'.
-Original Message-
From: Shaun Paul [mailto:[EMAIL PROTECTED]
Sent: 08 October 2003 05:43
To: [EMAIL PROTECTED]
Subject: log4j:ERROR No appenders could be found for category
Hi,
We are running tomcat 4.1.24 and use log4j to log messages
I am pretty sure that Tomcat and Jboss will run independantly in separate VM
instances, and hence definately separate class loaders. This implies there
will be two indepedant instances of Log4j running, and they will need to log
to separate files.
-Original Message-
From: Tom Eugelink
so that each thread will only pick up its own
logger.
-Original Message-
From: Adrian Janssen
Sent: 14 November 2003 20:12
To: Log4J Users List
Subject: RE: Logging multiple threads to multiple files
No, I've tried that before. I ended up with 5 log files sharing the same
output.
Ed
Hmm, so if you put the log4j jar in the server/lib directory, then it will
get loaded by Tomcat's classloader and use that classloader's classpath?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 17 November 2003 15:34
To: Log4J Users List
Subject: RE: Revamp:
Quoting Jacob Kjome:
However, each time you perform a configuration with Log4j, the
previous one will be wiped out; within the same logger repository (in the
same class loader, of course), that is.
Are you sure that the existing set-up gets wiped? I set up Log4J in an
App-server using
I know NOTHING about the telnet appender, but it immediately stikes me that
it will need some more configuration information, such as maybe host and
port number?
Cheers
Adrian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 24 November 2003 17:59
To: [EMAIL
Oh, I see in the javadocs that it only needs a port and that is defaulted to
23 anyway.
No help then.
-Original Message-
From: Adrian Janssen [mailto:[EMAIL PROTECTED]
Sent: 25 November 2003 09:59
To: 'Log4J Users List'
Subject: RE: TelnetAppender generates NullPointerException
I know
well, what was it?
-Original Message-
From: Vince Law [mailto:[EMAIL PROTECTED]
Sent: 10 December 2003 22:02
To: 'Log4J Users List'
Subject: RE: logging data in wrong file
I found out what caused the problem. Thanks!
Vince
-Original Message-
From: Vince Law [mailto:[EMAIL
add a %n to your pattern.
From javadocs:
Outputs the platform dependent line separator character or characters.
This conversion character offers practically the same performance as using
non-portable line separator strings such as \n, or \r\n. Thus, it is the
preferred way of specifying a line
Pass the child object's Logger in to the parent method.
-Original Message-
From: Scott Melcher [mailto:[EMAIL PROTECTED]
Sent: 11 December 2003 15:47
To: 'Log4J Users List'
Subject: Log based on object and not the class
Hi, my problem is that in my object architecture/hierarchy I have
12 matches
Mail list logo