Xml. Switched to domconfig and it didn't help any. -----Original Message----- From: Mark Womack [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 4:23 PM To: 'Log4J Users List' Subject: RE: Log4j, websphere, rad, and log4j.xml location
Well, unless you actually have properties in a file with ".xml" for the file type, you should be using DOMConfigurator. Is the file in property or xml format? -Mark > -----Original Message----- > From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 2:11 PM > To: 'Log4J Users List' > Subject: RE: Log4j, websphere, rad, and log4j.xml location > > Wow. Nice. I've used it before and it works. > > What should I be using with xml files? :P > > -----Original Message----- > From: Mark Womack [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 4:10 PM > To: 'Log4J Users List' > Subject: RE: Log4j, websphere, rad, and log4j.xml location > > You sure that is how you are configuring? PropertyConfigurator cannot > process xml files. > > -Mark > > > -----Original Message----- > > From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 11, 2005 2:02 PM > > To: [email protected] > > Subject: Log4j, websphere, rad, and log4j.xml location > > > > I am trying to configure log4j using > > > > PropertyConfigurator.configure("log4j.xml"); > > > > I am however having an issue. I never receive a logging event. When I > look > > at the websphere log, log4j says it is unable to find log4j.xml. I'm > using > > RAD (IBM's Rappid Application Developer) to write the program that uses > > the log4j and I'm wondering exactly what I need to feed it for a path to > > this file. I can not use an absolute path because I will never know what > > that absolute path is since it will be running in websphere. > > > > Another issue I'm having is when I import an external jar and then > upload > > my war to websphere it can't find any of the log4j stuff. > > > > I can include exact errors if this will help. > > > > thanks > > > > > > > > Joel Schuweiler > > Middleware > > [EMAIL PROTECTED] > > Tel: 8-7900 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
