RE: Default log4j initialization

2005-06-14 Thread Ford, Peter
logger.xml --Pete > -Original Message- > From: James Stauffer [mailto:[EMAIL PROTECTED] > Sent: Monday, June 13, 2005 7:38 AM > To: Log4J Users List > Subject: Re: Default log4j initialization > > Add -log4j.debug to the command line to get more info about how it > t

Re: Default log4j initialization

2005-06-13 Thread Anand Vijay
Hi Thanks All a lot , it works - Original Message - From: [EMAIL PROTECTED] To: Log4J Users List Cc: Log4J Users List ; Anand Vijay Sent: Monday, June 13, 2005 7:40 PM Subject: Re: Default log4j initialization Hi, Can you put Dlog4j.debug=true in the

Re: Default log4j initialization

2005-06-13 Thread vi . hong
CTED]> 06/13/2005 10:04 AM Please respond to "Log4J Users List" To "Log4J Users List" , "Anand Vijay" <[EMAIL PROTECTED]> cc Subject Re: Default log4j initialization Quoting Anand Vijay <[EMAIL PROTECTED]>: > Hi James > > Thanks for the

Re: Default log4j initialization

2005-06-13 Thread Jacob Kjome
auffer" <[EMAIL PROTECTED]> > To: "Log4J Users List" > Sent: Monday, June 13, 2005 6:07 PM > Subject: Re: Default log4j initialization > > > Add -log4j.debug to the command line to get more info about how it > tries to search for the config file. That

Re: Default log4j initialization

2005-06-13 Thread Anand Vijay
Hi James Thanks for the reply I start tomcat through shortcut icons(windows). where do i need to specify it? - Original Message - From: "James Stauffer" <[EMAIL PROTECTED]> To: "Log4J Users List" Sent: Monday, June 13, 2005 6:07 PM Subject: Re: Default

Re: Default log4j initialization

2005-06-13 Thread James Stauffer
Add -log4j.debug to the command line to get more info about how it tries to search for the config file. That should tell you what is going wrong. On 6/10/05, Ford, Peter <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to get log4j to initialize when my app starts up, but it > doesn't seem to

RE: Default log4j initialization

2005-06-10 Thread Andy McBride
BasicConfigurator.configure() <-- Forces the default bare - > bones logger. > PropertyConfigurator.configure( file>); <-- Configures loggers that I specify. > > Cheers, > Philip. > > > -Original Message- > From: Ford, Peter [mailto:[EMAIL PROTECTED] >

RE: Default log4j initialization

2005-06-10 Thread Philip Denno
igurator.configure(); <-- Configures loggers that I specify. Cheers, Philip. -Original Message- From: Ford, Peter [mailto:[EMAIL PROTECTED] Sent: June 10, 2005 3:27 PM To: log4j-user@logging.apache.org Subject: Default log4j initialization Hi, I'm trying to get log4j to initialize whe

Default log4j initialization

2005-06-10 Thread Ford, Peter
Hi, I'm trying to get log4j to initialize when my app starts up, but it doesn't seem to be working. My command line includes "-Dlog4j.configuration=cfg/logger.xml" and my "main()" method does an explicit call to Logger.getLogger() to force the Logger class to load and hence get the static initia