RE: Howto switch off additivity for a particular logger

2003-10-07 Thread Adrian Janssen
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]

RE: log4j.properties - How to parse outpu to multiple files

2003-10-09 Thread Adrian Janssen
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

RE: log4j:ERROR No appenders could be found for category

2003-10-09 Thread Adrian Janssen
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

RE: App-server independent log4j logging

2003-10-17 Thread Adrian Janssen
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

RE: Logging multiple threads to multiple files

2003-11-17 Thread Adrian Janssen
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

RE: Revamp: App-server independent log4j logging

2003-11-17 Thread Adrian Janssen
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:

RE: Multiple Log4j configuration files in EJB Container (one jvm)

2003-11-24 Thread Adrian Janssen
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

RE: TelnetAppender generates NullPointerException

2003-11-25 Thread Adrian Janssen
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

RE: TelnetAppender generates NullPointerException

2003-11-25 Thread Adrian Janssen
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

RE: logging data in wrong file

2003-12-11 Thread Adrian Janssen
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

RE: multiple log4j statements on the same console line

2003-12-11 Thread Adrian Janssen
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

RE: Log based on object and not the class

2003-12-11 Thread Adrian Janssen
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