Re: Log4J XML configuration file for a library on classpath

2007-04-23 Thread Marcos
James Stauffer escreveu: Generally adding log4j.xml to a directory in the classpath will work. Did you try that? Hi, First of all thanks for answer :-) I've added the log4j.xml to the classpath and it worked :-) as you recommended :-), but I made it in a "not so elegant way", I mean I've ad

Re: Log4J XML configuration file for a library on classpath

2007-04-23 Thread James Stauffer
Generally adding log4j.xml to a directory in the classpath will work. Did you try that? On 4/23/07, Marcos <[EMAIL PROTECTED]> wrote: Hi all, I'm reading for a couple of hours the log4j documentation and I think I'm missing something Below the scenario.: - I have an application that uses

Log4J XML configuration file for a library on classpath

2007-04-23 Thread Marcos
Hi all, I'm reading for a couple of hours the log4j documentation and I think I'm missing something Below the scenario.: - I have an application that uses a library (quartz.jar), this library uses the commons logging facility to log its messages :-) When I put the log4j libraries (log4j-

RE: Log4j xml configuration

2007-02-15 Thread Kamal Ahmed
events on match, this chain accepts events when a match occurs. Hope this helps. -Kamal. -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:00 AM To: Log4J Users List Subject: RE: Log4j xml configuration Hi Thanks for the he

Re: Log4j xml configuration

2007-02-15 Thread James Stauffer
not to log the ERROR or FATAL. Is this possible? glen -Original Message- From: Kamal Ahmed [mailto:[EMAIL PROTECTED] Sent: 15 February 2007 15:40 To: Log4J Users List Subject: RE: Log4j xml configuration Glen, Here is a sample which will help you understand how you can use xml

RE: Log4j xml configuration

2007-02-15 Thread Drinkwater, GJ \(Glen\)
, but not to log the ERROR or FATAL. Is this possible? glen -Original Message- From: Kamal Ahmed [mailto:[EMAIL PROTECTED] Sent: 15 February 2007 15:40 To: Log4J Users List Subject: RE: Log4j xml configuration Glen, Here is a sample which will help you understand how you can use xml

RE: Log4j xml configuration

2007-02-15 Thread Kamal Ahmed
: -Kamal. -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 8:20 AM To: [email protected] Subject: Log4j xml configuration Hi I am currently moving all our

Re: Log4j xml configuration

2007-02-14 Thread James Stauffer
On 2/14/07, Drinkwater, GJ (Glen) <[EMAIL PROTECTED]> wrote: Hi I am currently moving all our log4j.properties files to XML files and was wondering how I replicate this with the xml configuration. In the properties file, I can put in log4j.logger.my.package=DEBUG Which means only lo

Log4j xml configuration

2007-02-14 Thread Drinkwater, GJ \(Glen\)
Hi I am currently moving all our log4j.properties files to XML files and was wondering how I replicate this with the xml configuration. In the properties file, I can put in log4j.logger.my.package=DEBUG Which means only logs from 'my.package' with level DEBUG or above gets logged and anything

Re: Adding new tags to log4j XML configuration file

2006-12-19 Thread Mattias Andersson
t; > Mattias Andersson wrote: >> Hi, >> >> I'm using log4j 1.2.14 and I'd like to add my own tags to the log4j XML >> configuration file. The reason for this is that we have built a logging >> server and to avoid having two configuration files I'd l

Re: Adding new tags to log4j XML configuration file

2006-12-19 Thread Takacs Bence
I'm using log4j 1.2.14 and I'd like to add my own tags to the log4j XML configuration file. The reason for this is that we have built a logging server and to avoid having two configuration files I'd like to add some new tags to XML file. I've added the following to my XML file

Adding new tags to log4j XML configuration file

2006-12-13 Thread Mattias Andersson
Hi, I'm using log4j 1.2.14 and I'd like to add my own tags to the log4j XML configuration file. The reason for this is that we have built a logging server and to avoid having two configuration files I'd like to add some new tags to XML file. I've added the following to my XML

Re: log4j xml configuration file parser error

2005-12-20 Thread Jacob Kjome
At 09:13 AM 12/20/2005 -0500, you wrote: >Hi, > >I am getting the following error from log4j (version 1.2.8) during the >configuration. > I think Curt did some fixing of DTD handling in 1.2.9. Please upgrade to 1.2.9 or, better yet, the latest release version, which is 1.2.13. Jake >;---

log4j xml configuration file parser error

2005-12-20 Thread Rakesh Arora
Hi, I am getting the following error from log4j (version 1.2.8) during the configuration. ;- log4j:ERROR Could not find [log4j.dtd]. Used [EMAIL PROTECTED] class loader in the sea rch. log4j:ERROR Parsing error on li

Re: log4j xml configuration problem -- should be easy

2005-10-13 Thread David Durham
On 10/13/05, Bender Heri <[EMAIL PROTECTED]> wrote: > Hi > > you must define the appenders before the loggers within the config file. See > the dtd file. Yeah, ok, I originally had the appenders first, and reworked it a bit so that it would post properly, of course I am testing the version that I

RE: log4j xml configuration problem -- should be easy

2005-10-13 Thread Bender Heri
Hi you must define the appenders before the loggers within the config file. See the dtd file. Heri > -Original Message- > From: David Durham [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 13, 2005 3:06 PM > To: [email protected] > Subject: log4j xm

log4j xml configuration problem -- should be easy

2005-10-13 Thread David Durham
I've tried using the following config with log4j-1.2.12.jar and commons-logging 1.0.4 and commons-logging 1.0.5. The only logger that I can get anything out of is the root logger. Configuration below, usage will follow: (Also, apologies for the formatting; eclipse still does not have tab replace

RE: Log4j xml configuration

2004-08-15 Thread Paul Smith
nal Message- > From: Mike Blake-Knox [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 14, 2004 1:12 AM > To: 'Log4J Users List' > Subject: RE: Log4j xml configuration > > I'm apparently still doing something wrong with what I'm told is a simple > exampl

RE: Log4j xml configuration

2004-08-13 Thread Mike Blake-Knox
) 644-3643 cellphone: (706) 570-4641 > -Original Message- > From: Mike Blake-Knox [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 11, 2004 4:11 PM > To: 'Log4J Users List' > Subject: RE: Log4j xml configuration > > Thanks for your reply. > > >

RE: Log4j xml configuration

2004-08-11 Thread Mike Blake-Knox
Thanks for your reply. > The example is simple enough. > I suggest you try it again replacing configDebug="true" with > debug="true" > > > > log4j:configuration > >SYSTEM "log4j.dtd"> > > > > > configDebug="true"> I made the change you suggested with no changes in sympto

Re: Log4j xml configuration

2004-08-11 Thread Ceki Gülcü
At 08:47 PM 8/11/2004, you wrote: I'm having difficulties configuring log4j with the DOMConfigurator. The problem is basically that the configuration file seems to be ignored. (The sysinternals' Filemon tools makes me believe that the configurator has actually found and read the file but the layo

Log4j xml configuration

2004-08-11 Thread Mike Blake-Knox
I'm having difficulties configuring log4j with the DOMConfigurator. The problem is basically that the configuration file seems to be ignored. (The sysinternals' Filemon tools makes me believe that the configurator has actually found and read the file but the layout that's displayed isn't what is