CVS checkout problem

2002-10-10 Thread Thomas Saxtoft
Using an old script that used to work, I now find my self with a problem. I can't checkout from cvs. I get this error message: [cvs] Caught exception: CreateProcess: cvs -d:pserver:[EMAIL PROTECTED] 2:/home/CVSHOME checkout dk error=2 If I run the cvs command (cvs

How to get PrintStream of an Appender?

2002-10-10 Thread Xiaoyan Liu
Hi, all, We are using a third-party tool where its debugger only has the method 'getDebugStream(PrintStream s)' to config its debug io stream. We want to use log4j, which means we need to pass the streams associated with an Appender (file or socket appender). Can this be done and how to get

Sorry about post

2002-10-10 Thread Thomas Saxtoft
Hi everybody I just made a post to this list which should have been to an Ant list. I apologize. Thomas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Properties not loaded?

2002-10-10 Thread Guy Laurent
When I set the system property using java -Dlog4j.configuration=/mydir/log4j.properties myClass I do not get the properties held in here picked up. I though if I specified this property I would never have to invoke the PropertyConfigurator.configure or PropertyConfigurator.basicConfiguration

Re: Properties not loaded?

2002-10-10 Thread Ceki Gülcü
At 12:01 10.10.2002 +0100, you wrote: When I set the system property using java -Dlog4j.configuration=/mydir/log4j.properties myClass I do not get the properties held in here picked up. I though if I specified this property I would never have to invoke the PropertyConfigurator.configure or

RE: How to get PrintStream of an Appender?

2002-10-10 Thread Shapira, Yoav
Hi, We are using a third-party tool where its debugger only has the method 'getDebugStream(PrintStream s)' to config its debug io stream. OK. We want to use log4j, which means we need to pass the streams associated with an Appender (file or socket appender). Can this be done and how to get the

Re: Release of log4j 1.2.7

2002-10-10 Thread sk k
Thanks for the reply. --- Ceki Gülcü [EMAIL PROTECTED] wrote: Subclassing the Logger class is highly discouraged. You should try wrapping instead of subclassing. At 18:54 09.10.2002 -0700, you wrote: Can you pls add the functionality to the next release to allow DOMConfigurator to

RE: LevelMatchFilter ???

2002-10-10 Thread Mark Womack
1) Filters are only configurable using xml configuration files, not property configuration files. 2) You can also look at using LevelRangeFilter. It allows a range of levels (ie INFO thru WARN) to be excluded/included. Configuration is similar to LevelMatchFilter; see the javadoc for allowed

Re: Finding Appenders

2002-10-10 Thread Greg Cutler
--- Ceki Gülcü [EMAIL PROTECTED] wrote: This problem has been mentioned several times. We will address the issue in log4j 1.3. At 13:39 09.10.2002 -0700, you wrote: I've been working on a small struts application that can plug in to existing webapps to view/configure log4j at runtime.

Re: Finding Appenders

2002-10-10 Thread sk k
About JMX: I was able to get both RI from Sun and MX4j server up and running using the JMX capablities exposed by log4j. Since, MX4j is actively developed and maintained, you can take a look at it. It has some bugs but it seems to get the work done at least for me since, I wanted some

Newbie help

2002-10-10 Thread Kwok Peng Tuck
I'm trying to get my jsp to work with log4j, I need to know how to set up the log4j properties file to log to a file. Can someone provide a example ? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]