RE: Log4J in JSP Pages

2004-12-06 Thread Shapira, Yoav
Hi, You mean like % Logger logger = Logger.getLogger(getClass().getName()); logger.warn(oh no!); % Or via tags and such, e.g. http://jakarta.apache.org/taglibs/doc/log-doc/intro.html? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Norma Spence [mailto:[EMAIL

RE: level inheritance, kind of :)

2004-11-30 Thread Shapira, Yoav
Hi, You probably want to set additivity=false on these, so that the all doesn't trump the error and they're kept separate, each at its own level. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Oliver Epper [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004

RE: level inheritance, kind of :)

2004-11-30 Thread Shapira, Yoav
Hi, Yeah, I thought you didn't want A to log A.B's error messages... Yoav Shapira http://www.yoavshapira.com -Original Message- From: Oliver Epper [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 10:03 AM To: Log4J Users List; Patrick Kranz Subject: Re: level inheritance,

RE: IMAP appender?

2004-11-29 Thread Shapira, Yoav
Hi, There's no IMAP appender built into the log4j core that I'm aware of. You can write one ;) You can define an ErrorHandler for an Appender. It would be called if the Appender fails. See the org.apache.log4j.ErrorHandler JavaDoc for more details. Yoav Shapira http://www.yoavshapira.com

RE: IMAP appender?

2004-11-29 Thread Shapira, Yoav
Hi, Ok I know there is no way with SMMTP to guarantee that there was an e-mail sent... But with this error handler I will be able at least to detect whther at least the SMTP server was down? You would know that an SMTP error occurred. You wouldn't know specifically its cause, such as SMTP

RE: IMAP appender?

2004-11-29 Thread Shapira, Yoav
a network drop etc... From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Log4J Users List [EMAIL PROTECTED] To: Log4J Users List [EMAIL PROTECTED] Subject: RE: IMAP appender? Date: Mon, 29 Nov 2004 10:32:41 -0500 Hi, Ok I know there is no way with SMMTP to guarantee that there was an e-mail sent

RE: Log4J API, for D

2004-11-29 Thread Shapira, Yoav
Hi, Added to Other Ports section, updated site. Thank you for notifying us, and keep up this interesting work. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Kris Bell [mailto:[EMAIL PROTECTED] Sent: Sunday, November 28, 2004 8:23 PM To: [EMAIL PROTECTED] Subject:

RE: getting 1.3 code...

2004-11-19 Thread Shapira, Yoav
Hi, You need to it over a SSH connection: use PuTTY or a similar client as instructed at http://www.apache.org/dev. The CVS server is working fine, I'm using it right now. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Alan Brown [mailto:[EMAIL PROTECTED] Sent:

RE: two log4j repository?

2004-11-16 Thread Shapira, Yoav
Hi, Yes, search the list archives for more. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Zhu Qifei [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 2:14 AM To: Log4J Users List Subject: two log4j repository? Hi all, Can i have two separate log4j

RE: How to determine if log4j has been configured

2004-11-16 Thread Shapira, Yoav
Hi, Setting the override property would likely help when running standalone, but we don't have a problem them. I don't think it will help when running under JBoss because because then JBoss would not initialize log4j at all, right? Wrong. This would be useful in ruling out the default

RE: disabling autoconfiguration

2004-11-15 Thread Shapira, Yoav
Hi, Given the fact autoconfiguration runs in a static initializer, it only seems possible to circumvent with a custom classloader. It's a lot less effort to simply not have log4j.properties/log4j.xml on the classpath than it is to start mucking with custom loaders for this purpose. So no, I

RE: disabling autoconfiguration

2004-11-15 Thread Shapira, Yoav
Hi, Would a system property be useful here? A lightbulb went on when I read that, followed by a smack to the side of my head: there's already one! Setting the system property log4j.defaultInitOverride overrides the default init procedure. This is documented in the short manual. OP: give it a

RE: [easy] can i download log4j 1.3 or must i build it ?

2004-11-03 Thread Shapira, Yoav
Hi, It is a mistake to perceive these as official distributions and rely on them as such. They're there for developer convenience purposes only, may contain bugs, are not related to a CVS tag (in most cases, which means they can't be reproduced), and are not supported in any way. Other than

RE: CVS revision Tag questions

2004-10-15 Thread Shapira, Yoav
Hi, You can use PREALPHA_1_3_AS_OF_2004_05_12 most likely, or simply the v1_2-branch tag. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Doug Clifton [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 3:01 PM To: Log4J Users List Subject: CVS revision Tag

RE: Log4J configuration for library

2004-10-08 Thread Shapira, Yoav
Hi, First, please be more specific than just the configuration gets messed up. Our ability to help you is mostly limited by the quality and quantity of the information you provide. The common problem when developing libraries is the need to allow the user of the library to configure its

RE: Making the logger private

2004-10-01 Thread Shapira, Yoav
Hi, I always use private static final Logger LOGGER = Logger.getLogger(Foo.class); I use static final instead of final static because the former is the JLS recommended order, and tools like Checkstyle complain if you don't comply, but the functionality is the same obviously. I use private

RE: muting appenders

2004-10-01 Thread Shapira, Yoav
Hi, You can modify the levels for loggers and the thresholds for appenders on the fly, no problem. Yoav Shapira Millennium Research Informatics -Original Message- From: Ionel GARDAIS [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:13 AM To: [EMAIL PROTECTED] Subject:

RE: using java.io.tmp in properties file

2004-09-28 Thread Shapira, Yoav
Hi, Yup, use the Ant-like syntax ${java.io.tmp} (I actually think you mean java.io.tmpdir by the way). Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 12:00 PM To: [EMAIL PROTECTED]

RE: writing to 2 different log files at same time

2004-09-28 Thread Shapira, Yoav
Hi, You can go about this several ways. Here's one option, in a properties configuration format. # Define log file (appender) for processing actions log4j.appender.processingActionsAppender = org.apache.log4j.FileAppender ... # Define log file (appender) for database actions

RE: Quick question...

2004-09-24 Thread Shapira, Yoav
Hi, How are you configuring log4j? Using BasicConfigurator.configure adds a console appender. Yoav Shapira Millennium Research Informatics -Original Message- From: Greg Michalopoulos [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 9:36 AM To: 'Log4J Users List' Subject:

RE: How to distribute messages in different files ?

2004-09-23 Thread Shapira, Yoav
Hi, You don't have to attach appenders to the root logger. Attach the context1 appender only to the context1 logger, attach the context2 appender only to the context2 logger, and attach the Tomcat appender only to the org.apache.catalina logger. Yoav Shapira Millennium Research Informatics

RE: web app using log4j not garbage collected when shutdown with tomcat manager app

2004-09-21 Thread Shapira, Yoav
Hi, Aaah, good findings! Maybe this will let us make progress on http://issues.apache.org/bugzilla/show_bug.cgi?id=26372 and http://issues.apache.org/bugzilla/show_bug.cgi?id=27371. Thanks for posting! Yoav Shapira Millennium Research Informatics -Original Message- From: Paulsen, Jay

RE: Custom Levels

2004-09-17 Thread Shapira, Yoav
Hi, I can't help with your actual problem, as I don't know its cause, but I wanted to offer an alternative approach that involves much less work for you. Use an Admin Logger as a separate Logger, rather than a separate level. Have a Singleton in your webapp which has private static final Logger

RE: looking for guidance - logging in JSPs

2004-09-16 Thread Shapira, Yoav
Hi, Would definitely add logging to the tags themselves, that's almost a no-brainer. What do you lose by doing that? Nothing, I think. As to whether you want to add logging to the JSPs themselves: it does clutter them and make them have more Java, thereby reducing the EUD potential. However,

RE: looking for guidance - logging in JSPs

2004-09-16 Thread Shapira, Yoav
Hi, Or if not as part of log4j proper, then at least have a link to them on the logging.apache.org/log4j web site. I'll take a look at adding something. Yoav Shapira Millennium Research Informatics -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: MDC in J2EE

2004-09-15 Thread Shapira, Yoav
Hi, If you're talking about the RequestDispatcher#forward method, the Servlet Spec guarantees that it will execute on the same thread as the original request (Servlet Spec v2.4, section SRV.8.2, it's unambiguous), so that's what you're missing there. For EJB calls, I don't know, you might be

RE: this has to be super simple: different logger, multiple appenders, for different classes

2004-09-15 Thread Shapira, Yoav
Hi, In your configuration file, define all six appenders. Call them stdout1, stdout2, email1, email2, file1, file2. The syntax for this is in the JavaDoc for the PropertyConfigurator class, as well as the Short and Complete log4j manuals. Set additivity to false for all six appenders. Maybe

RE: New logging method

2004-09-03 Thread Shapira, Yoav
! -- Sloan -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:54 AM To: Log4J Users List Subject: RE: New logging method Hi, You could use a normal JDBCLogger, pass it a Map (or other Collection of your choice) that contains the subject

RE: New logging method

2004-09-03 Thread Shapira, Yoav
-Original Message- From: Shapira, Yoav Sent: Friday, September 03, 2004 9:07 AM To: Log4J Users List Subject: RE: New logging method Hi, You specify the ObjectRenderer in the configuration file, as log4j.renderer.fully.qualified.name.of.rendered.class=fully.qualified.n

RE: maintaining the Frequently Asked Questions

2004-08-31 Thread Shapira, Yoav
Hi, You need to login (to wiki) in order to edit these pages. They're immutable to anonymous users. Yoav Shapira Millennium Research Informatics -Original Message- From: Jim Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 8:56 AM To: Log4J Users List Subject:

RE: Class loading issues using WLS 8.1?

2004-08-26 Thread Shapira, Yoav
Hola, I bet your hunch is correct. You'd need to either ask the weblogic folks how to isolate the startup classloader from the EAR classloaders, or alternatively use explicit LoggerRepositories in your log4j configuration within your EARs. Check our Jake Kjome's JNDIRepositorySelector (or a

RE: catching System.out and System.err into log4j

2004-08-25 Thread Shapira, Yoav
Hola, That's a fine generic way. If you want to take advantage of log4j options, you can create a WriterAppender that writes to the same PrintStream (ps) in Michal's code below. Then your loggers can write to this appender and they don't need to know of the fdout part. If you're on unix,

RE: Configuring Log4J

2004-08-18 Thread Shapira, Yoav
Hi, There is documentation on these configuration parameters. It's in the Short Manual, the JavaDoc for the PropertyConfigurator class, the FAQ (http://logging.apache.org/log4j/docs/faq.html), and Ceki's complete log4j manual (a non-free book that's well worth the purchase according to several

RE: generating log4j.xml

2004-08-18 Thread Shapira, Yoav
Hi, I'm not that gung-ho about configuration-file-generation tools. We've had some bitter experiences in the Tomcat area related to this. The problem is that the code tends to develop faster than the configuration-file-generation tool and so the configuration file generator outputs either

RE: need the latest jar..

2004-08-18 Thread Shapira, Yoav
the latest jar.. thanx for the info Yoav. But do u mean that i need to get the source code from http://logging.apache.org/log4j/ site? can u tell me the steps involved in downloading CVS head? sorry but i m new to it. thanx for ur help. -Original Message- From: Shapira, Yoav [mailto:[EMAIL

RE: Is there a MQAppender...

2004-08-16 Thread Shapira, Yoav
Hi, The other post had a couple of good ideas. The probability of us including a provider-specific appender implementation is in the log4j core is slim. In add-on/contrib modules, the probability is higher, but you'd have to write it, submit it to us (with the appropriate copyright transfer),

RE: log4j SEVERE ThreadDeath in Tomcat 5.0.25

2004-08-05 Thread Shapira, Yoav
Hi, And also don't use configureAndWatch, as that creates the monitoring thread that's likely causing this exception. Yoav Shapira Millennium Research Informatics -Original Message- From: Shapira, Yoav Sent: Thursday, August 05, 2004 8:34 AM To: Log4J Users List Subject: RE: log4j

RE: jar for 1.2.8 cvs head?

2004-08-03 Thread Shapira, Yoav
Hi, There's no such thing. There's 1.2.8 and HEAD, and they're different. You basically can't compile 1.2.8 from CVS HEAD as there's too much 1.3 stuff there. I see in your other message that you've managed to get CVS to work, so I'll provide more details in response to that one. Yoav

RE: Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG

2004-08-03 Thread Shapira, Yoav
Hi, This is a CVS question. I hope you have a good CVS GUI, but if not this applies from the command line as well. When you do a CVS checkout without specifying a branch or revision tag, you get the HEAD copy which is the latest. For log4j this is the latest 1.3 alpha code. If you want 1.2.8,

RE: Gzip rolled logs

2004-08-02 Thread Shapira, Yoav
Hi, You can get nightlies for log4j from Gump: http://brutus.apache.org/gump/public/logging-log4j/logging-log4j/index.html http://brutus.apache.org/gump/public/logging-log4j-12/logging-log4j-12/index.html. You can also download and build yourself. Yoav Shapira Millennium Research Informatics

RE: Failed to log message with log.error() !!!

2004-07-30 Thread Shapira, Yoav
Hi, A couple of pointers: log4j.appender.A1.File=/WEB-INF/log/ejcourse.log Do you really have a /WEB-INF off your root directory? The above is an absolute reference, not relative to anything, so it's probably wrong. # A1 Categories log4j.category.com.echows=INFO,ERROR,DEBUG You only specify

RE: Release date for log4j 1.3?

2004-07-28 Thread Shapira, Yoav
documentation associated with these features (especially logging domains) above and beyond the work plan list? Mike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 1:25 PM To: Log4J Users List Subject: RE: Release date for log4j 1.3? Hola, If I had

RE: Release date for log4j 1.3?

2004-07-27 Thread Shapira, Yoav
Hola, If I had $1 for every time we saw this question ;) I think 12 weeks for 1.3alpha0 is sane ;) Yoav Shapira Millennium Research Informatics -Original Message- From: David J. M. Karlsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 1:09 PM To: Log4J Users List Subject:

RE: JDK compatibility

2004-07-23 Thread Shapira, Yoav
substitute a dumb file logger for now when we're running under J++, this has been deemed an acceptable work-around. So for now we're OK. If we get a better stack trace I'll follow up with the information. Regards, Mike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent

RE: JDK compatibility

2004-07-21 Thread Shapira, Yoav
Hi, The Visual J++ JVM is 1.1-compatible supposedly, but it's different from Sun's 1.1. Can you run OK on Sun 1.1? What's the full stack trace for the NoClassDefFoundError? Yoav Shapira Millennium Research Informatics -Original Message- From: Lutz Michael [mailto:[EMAIL PROTECTED]

RE: configureAndWatch

2004-06-15 Thread Shapira, Yoav
Hi, We've done the servlet that reloads the log4j thing in the past: it works well, and there's one for your use in the log4j-sandbox. In the J2EE Spec world (which as others point out has serious limitations in this area), the thread creation itself is just as much a problem as the lack of a

RE: configureAndWatch

2004-06-14 Thread Shapira, Yoav
Hi, Read the J2EE Specification guidelines on spawning user threads within a container to understand why. configureAndWatch spawns a thread, albeit a daemon, to watch the file. Yoav Shapira Millennium Research Informatics -Original Message- From: Adrian Beech [mailto:[EMAIL

RE: What is the significance of rootCategory in property file.

2004-06-04 Thread Shapira, Yoav
Hi, Thanks alot for the information. Can I have any number of log4j properties files under a single web application ? Yes. In case of conflicts the last one configured using Configurator#configure (or a variant thereof) will determine the configuration. If so, where to put these

RE: What is the significance of rootCategory in property file.

2004-06-03 Thread Shapira, Yoav
Hi, The root category is not required in configuration files. It is implicitly created for you whether you specify details for it or not. Most people specify it in order to set the basic level of logging for their system such that 3rd party libraries using log4j aren't logging at too verbose a

RE: FileAppender file path in a web app

2004-05-26 Thread Shapira, Yoav
Hi, This question is routinely addressed on the tomcat-user mailing list: you may wish to search that list's archives for the myriad approaches and solutions that people have proposed over the years. Common ones include: - NOT to use a relative filename, as the definition of Current Working

RE: BasicConfigurator

2004-05-26 Thread Shapira, Yoav
Hi, Take advantage of what's there. It's a simple rationale and I like it ;) If there's nothing there, no harm done. This is an excellent way for someone who knows log4j but must debug an app to whose source code there's no access to configure logging. Yoav Shapira Millennium Research

RE: long initialization delay

2004-05-19 Thread Shapira, Yoav
Hi, Run it inside a profiler to see where CPU time is spent. Yoav Shapira Millennium Research Informatics -Original Message- From: Shriver, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 4:09 PM To: '[EMAIL PROTECTED]' Subject: long initialization delay I'm getting a

RE: How to apply the apache license to documents

2004-05-14 Thread Shapira, Yoav
Hi, b.t.w. The license link on http://logging.apache.org still refers to the 1.1 license whereas the link at http://logging.apache.org/site/binindex.cgi when I try to download log4j refers to 2.0 license. El fixo has been completo. (Apologies to any Spanish speakers on the list) Yoav This

RE: DailyRollingFileAppender

2004-05-12 Thread Shapira, Yoav
Hi, I've got a DailyRolloingFileAppender and I want to keep only the last 7 days. Is this possible? If not, has anyone built a custom appender for that? No to the first question in log4j 1.2, yes in log4j 1.3. Yes to the second question, you can search the list archives for

RE: Platform dependencies problem

2004-05-07 Thread Shapira, Yoav
Hi, See http://marc.theaimsgroup.com/?l=log4j-userm=106201384129366w=2. You may also wish to consider alternative approaches: - An ant token replacement mechanism (filled in when you create the WAR file or deploy your application) - Programmatic configuration - There are more but I have to run.

RE: german translation of the log4j short manual

2004-05-04 Thread Shapira, Yoav
Hi, I've added it. Before doing so I checked there's a reference to the Apache license. But I don't read German, so it may be the reference is not highlighted enough. Thanks for the translation, Yoav Shapira Millennium Research Informatics -Original Message- From: Ceki Gülcü

RE: How Do I Find Out If log4j Has Been Configured?

2004-04-29 Thread Shapira, Yoav
Hi, I don't understand your comments. With the current defaults there are no appenders, so *no* information is logged except a single console I thought you meant the default configuration as in BasicConfigurator.configure being called? Maybe I misunderstood your original point. least

RE: How Do I Find Out If log4j Has Been Configured?

2004-04-28 Thread Shapira, Yoav
Hi, Why can't you simply use a static initializer in your EJB to configure Log4J? I.e: static { PropertyConfigurator.configure(myfile.properties); } I'll answer for the original poster: for several reasons. What if a 3rd party library (or another part of the code you simply

RE: How big is log4j?

2004-04-15 Thread Shapira, Yoav
Hi, I don't know, but it wouldn't be difficult to track with a profiler, and then please post the results to the list as I'm sure others are curious ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Ralf Beger [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14,

RE: DateFormatFileAppender

2004-04-15 Thread Shapira, Yoav
it is working well for us so far.  I attached the current code but it is in a package from our code right now (easy to change). James Stauffer (Thanks for the great product!) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 7:55 AM To: Log4J

RE: Is it possible to set log levels at runtime?

2004-04-07 Thread Shapira, Yoav
Hi, How do I configure log4j to use Configurator#configureAndWatch. My Instead of relying on default initialization, you write code that configures log4j: follow the tutorial, search this list's archives, look up examples online, or buy the book if you're not sure how to do this. And are there

RE: Another Newbie Question

2004-04-01 Thread Shapira, Yoav
Hi, - When using a daily file roll, is the file overwritten every night - or is it timestamped and a new file is created? Or will I have to script this myself? It's timestamped and a new one created, e.g. myLog becomes myLog.2004-03-31 and a new file called myLog is created. Yoav Shapira

RE: Multiple configuratorClass on Tomcat

2004-03-31 Thread Shapira, Yoav
Hi, personal tasks), so I set the following system property : -Dlog4j.configuratorClass=mypackage.MyConfigurator This system property will then be set for all the webapps, as they all share the same JVM instance. Please note I can use a Servlet.init() to configure Log4J because some

RE: Problems with my classpath?

2004-03-25 Thread Shapira, Yoav
Hi, When i run my application with java -classpath all_the_libraries runs well But when i run normally: export CLASSPATH all_the_libraries So you have an environment-related problem most likely: check the JDK lib/ext directories. Then Exception in thread main java.lang.NoClassDefFoundError:

RE: when to log Exceptions

2004-03-17 Thread Shapira, Yoav
Hi, I'd offer an extremely simple but usually highly effective heuristic: log it when it's caught. View logging as part of the handling of an exception. Yoav Shapira Millennium Research Informatics -Original Message- From: Larry Young [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16,

RE: Cannot switch from BasicConfiguration to PropertyConfiguration -- My bad...

2004-03-03 Thread Shapira, Yoav
Hi, Sorry, this does work. It was my fault... In the actual program where it first started doing this, it was pointing a different log file than the one I was looking at. In the little test the log file had a syntax error or something. anyways... sorry for the hassle. Don't worry, you've no

RE: Is there a way to test prior initialization of Log4J

2004-02-10 Thread Shapira, Yoav
Howdy, See http://nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages/UsefulCod e. Yoav Shapira Millennium ChemInformatics -Original Message- From: Serge Huber [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 10:52 AM To: [EMAIL PROTECTED] Subject: Is there a way to test

RE: What is this exception ?

2004-01-30 Thread Shapira, Yoav
Howdy, log4j:ERROR Failed to flush writer, java.io.InterruptedIOException at java.io.FileOutputStream.writeBytes(Native Method) I would treat this as a serious exception. Did you kill the server or JVM process in the middle of execution? Or did you remove or rename the log file? If

RE: log4j.properties not read

2004-01-27 Thread Shapira, Yoav
Howdy, Or you could just add -Dlog4j.debug=true to your java runtime command. Much simpler ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Christian Hufgard [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 5:57 AM To: Log4J Users List Subject: Re:

RE: Understanding MDC

2004-01-27 Thread Shapira, Yoav
Howdy, im just getting started with using log4j and I am trying to use it within my servlet. From reading the archives it appears i need to be using the MDC class, but i am a little confused as to how it works and how it is used in First of all, the MDC is entirely optional. Many people never

RE: multiple logger to the same appender

2004-01-26 Thread Shapira, Yoav
Howdy, I incurred in a similar doubt lately. Supose you are configuring your logger programmatically. So you can create an appender, create a logger, and set the appender to that logger. In the case you are creating more than one logger, it may be interesting (but I'm no sure yet...) to reuse

RE: multiple logger to the same appender

2004-01-26 Thread Shapira, Yoav
Howdy, log4j.rootLogger=DEBUG, A1, mailer log4j.logger.aClass=DEBUG, A2, mailer Because aClass inherits from the root by default, you don't need to declare the mailer again. You'll get duplicate messages. Yoav Shapira This e-mail, including any attachments, is a confidential business

RE: Question on Log4J Reliability

2004-01-15 Thread Shapira, Yoav
Howdy, We've been using log4j in production for years without any failures. He means reliable in a less common sense of the word, I think, in that log4j will notify you if it fails and try to do its best to continue. Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: Custom Filter Question

2004-01-12 Thread Shapira, Yoav
Howdy, The parameter could be a comma-delimited string, which you could parse with a StringTokenizer very easily. But why are you doing this? Yoav Shapira Millennium ChemInformatics -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 9:33

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
Howdy, Really? Can you give a specific place in their code where they're doing this? Yoav Shapira Millennium ChemInformatics -Original Message- From: Robert Augustyn [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:31 PM To: 'Log4J Users List' Subject: RE: suppressing

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
, January 06, 2004 2:52 PM To: 'Log4J Users List' Subject: RE: suppressing messages Look into jboss-common-client package. Best place would be to ask on jboss.org. robert -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:42 PM To: Log4J Users List

RE: suppressing messages

2004-01-06 Thread Shapira, Yoav
messages Look into jboss-common-client package. Best place would be to ask on jboss.org. robert -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:42 PM To: Log4J Users List Subject: RE: suppressing messages Howdy, Really? Can you give