RE: Appenders

2002-04-05 Thread Ylan Segal
> > Thanks. But here is from the javadocs: > > "Set the threshold priority. All log events with lower > priority than the threshold priority are ignored by > the appender." > So the priority higher than the Threshhold will still > be logged. That means the ERROR msg will still be > logged into

RE: Appenders

2002-04-05 Thread Hu
Thanks. But here is from the javadocs: "Set the threshold priority. All log events with lower priority than the threshold priority are ignored by the appender." So the priority higher than the Threshhold will still be logged. That means the ERROR msg will still be logged into the INFO msg file.

RE: Appenders

2002-04-05 Thread Zeltser, Mark
See inline. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:24 PM To: Log4J Users List Subject: Re: Appenders Using Threshhold option the ERROR still goes to Console, right? No, just take out of your root element I would like to

Re: Appenders

2002-04-05 Thread Hu
Using Threshhold option the ERROR still goes to Console, right? I would like to set up that in the same category, INFO goes to one file, ERROR goes to another file, so we can deal with the message differently. Also, I have another question about the configure. I would like to log all the ERROR le

RE: How can I set a priority for all log messages?

2002-04-05 Thread Zeltser, Mark
You can set priority in root. You can also do per Appender level by setting 'threshold' option. Mark. -Original Message- From: Dirk Storck [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:36 PM To: Log4J (E-Mail) Subject: How can I set a priority for all log messages? Hi, how

How can I set a priority for all log messages?

2002-04-05 Thread Dirk Storck
Hi, how must I configure my jog4j.properties so that only messages from a ceratin level are diplayed all others are suspend? Many Thanks ! -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: log4j and j2se 1.4 logging APIs delimma

2002-04-05 Thread Ylan Segal
Chandan, Just my two cents. I have not started developing with jdk1.4 yet, but I have taken a look at the logging api. What I plan to do is nothing. I mean, until now I have been very happy using log4j in my applications and I really have no problem including the log4j.jar in my classpath, so why

Re: log4j and j2se 1.4 logging APIs delimma

2002-04-05 Thread Edward Q. Bridges
you might take a look at the jakarta commons logging api's: http://jakarta.apache.org/commons/logging.html they are interfaces to several different logging packages, and encompass log4j and jdk1.4 as well as a couple others. HTH --e-- On Fri, 5 Apr 2002 02:22:28 -0500, Chandan Singh wrote:

New log4j classes

2002-04-05 Thread Rob Walker
Under the new log4j classes, what's the equivalent of doing the following when you need to create separate logging hiearchies: new Hierarchy(new RootCategory(Level.DEBUG)); TIA -- Rob SoftSell Business Systems, Ltd. ' testing solutions for a changing world ' +44 (20) 7488 3470 www.softsell.

log4j in Applet

2002-04-05 Thread cc . ais40
In an trying to use log4j system in an Applet. We are using the Java-plugin 1.3.1 from Sun. When launching our application as a standalone application, it works fine. When lanching as an Applet under the Java plug-in under Microsoft IE, it works fine too. BUT with Netscape (like 4.78 or 6.2), i

Config-File

2002-04-05 Thread Bouquet, Marc
We wrote a BufferedAppender which implements the AppenderAttachable-Interface. It is kind of similar to the AsyncAppender, but doesn't have a BoundedFIFO, but a Vector which holds the LoggingEvents. The BufferedAppender has a method writeLogs(), which is called by the "User" and which writes all L

How can i log to more than one file using categories?

2002-04-05 Thread vijay talreja
Hi I am using the following configuration to write to a debug.log file and error.log file: log4j.rootCategory = DEBUG, A1,A2 log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.File=/usr/WebSphere/app/im-r1/logs/ImDebugLog.log log4j.appender.A1.layout=org.apache.log4j.PatternLayou