RE: Filters and configuration

2002-06-07 Thread Mark Womack
Scott, Filters can be added via a configuration file. It used to be the case that filter configuration was only supported in xml file and not property files. But that may be different now. You may want to look through the PropertyConfigurator code to see if it does anything with filters. -Mark

RE: Level comparator?

2002-06-07 Thread Klein, Scott @ TW
oops. i didn't mean cast - i guess i meant without using the Priority class (since this will be gone soon, right?) - or when it's removed will these methods be moved up to Level? -Original Message- From: Klein, Scott @ TW [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 12:37 PM To

Level comparator?

2002-06-07 Thread Klein, Scott @ TW
I was just curious if there was a reason Level doesn't implement the Comparator interface...rather than having to do toInt()'s or cast them down to Priority's -- To unsubscribe, e-mail: For additional commands, e-mail:

Filters and configuration

2002-06-07 Thread Klein, Scott @ TW
Are filters meant only to be added programatically, or can they also be added in the configuration file? I have not seen mention of them in any sample config files I have seen so I am assuming they must be added programtically - however, the appenders (I assume) use a LevelRangeFilter by default b

RE: config log4j to print to console from applet and logfile from servlet --- Please HELP!

2002-06-07 Thread Klein, Scott @ TW
As for documentation, I have been using Vipan Singla's "Don't Use System.out.println..." which is under the documentation link. It is rather out-of-date, but the basics for config files are there. I also use the Javadoc for setting parmeters (look for the bold names). Of course, any and all of the

RE: config log4j to print to console from applet and logfile from servlet --- Please HELP!

2002-06-07 Thread Daling Xu
Hi, All Thank you very much for the reply. Could you explain a little detail how to have multiple config file? I am an absolutly beginner on this topic, only know to use log4j.properties, the default config file, now. Could you point out some links of manual for log4j. I heard of there is a det

google search

2002-06-07 Thread Ceki Gülcü
I just typed "uml class diagram" in google. Here is what I found: http://www.google.ch/search?q=uml+class+diagram&ie=UTF8&oe=UTF8&hl=en&meta= Amusing. -- Ceki SUICIDE BOMBING - A CRIME AGAINST HUMANITY Sign the petition: http://www.petitiononline.com/1234567b I am signatory number 22106.

RE: I18n via Renderer

2002-06-07 Thread Colin MacDonald
First off, thanks for the very detailed reply! It sounds like your MessageFormatter approach is much better than my Renderer wackiness. I had thought it would be nifty if the message translation could be done completely transparently, but I think you're right about it not really being workable.

com.ms.lang.VerifyErrorEx error in applet initialisation

2002-06-07 Thread andrew . maye
Hi, I'm trying to use Log4J in an applet in IE. When the applet is initialised, I get the following error: Microsoft (R) VM for Java, 5.0 Release 5.0.0.3805 == ? help c clear f run finalizers g garbage collect m memory usage q quit t thread li

RE: Newbie question

2002-06-07 Thread Frissaer, Jeroen
Hi Doug, Here is an example of how to use the JDBCAppender without ODBC: log4j.appender.db=org.apache.log4j.jdbc.JDBCAppender log4j.appender.db.Driver=com.imaginary.sql.msql.MsqlDriver log4j.appender.db.URL=jdbc:msql://localhost:1114/MyLogDB log4j.appender.db.Sql=insert into log values ('%m') H

RE: Newbie question

2002-06-07 Thread Sara Prigge
I'm attaching a txt file that contains the property file info you need for the JDBCAppender (Kevin Steppe's) in log4j v.1.1.3. When I was setting up my JDBCAppender for the first time Kevin was very helpful (he's active in this forum). Hope this gets you started. -Original Message- F

Custom property for filepath in Config. file

2002-06-07 Thread Sridharan Vembu
Hi, Could anybody please guide on how to have a propertykey set to a value of the file destination in the configuration file. I mean, in the value for . How can I define this in my configuration file or through my application.I dont want to use the -D option from the console. Would highly

Re: Different files destinations for different levels

2002-06-07 Thread Rafael Alvarez
Hi James, JH> This is working just fine, but now I would like 'error' level output to go JH> to a different file from all other log output. How should I go about this? Check out LevelMatchFilter and LevelRangeFilter. They are in the org.apache.log4j.varia package (I'm using log4j 1.2). Perhaps

Different files destinations for different levels

2002-06-07 Thread James Hughes
Hi, I am currently using the following log4j.properties to output logs to a file (I am redirecting stdout into a file): # Set root logger level to DEBUG and its only appender to A1. log4j.rootLogger=DEBUG, A1 # A1 is set to be a ConsoleAppender. log4j.appender.A1=org.apache.log4j.ConsoleAppende

Newbie question

2002-06-07 Thread Doug Clifton
Hi all, I have just learned about log4j and am evaluating changing some code to make use of it. I've gone thru all the docs I can find and can not find any examples of how to set up the properties file when the appender is either a syslog or jdbc destination. I've intuited some of the jdbc va

trapping system.out.println

2002-06-07 Thread Swaminathan G
Hi, Does log4j in any way trap system.out.println(). There are some messages for which i have used cat.debug() , but for some others i am directly using system.out.println(). In the latter case me messages get assigned a category and get logged to the respective appenders. under what condition

RE: Re[4]: logger not working with servlet

2002-06-07 Thread Benedetta Barbieri
Hi Jake, I solved my problem, I had mispelled the JDBCAppender full name (wrote org.apache.log4j.JDBCAppender instead of org.apache.log4j.jdbc.JDBCAppender) Benedetta -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: giovedi 6 giugno 2002 17.37 To: Log4J Users List Su