>               BasicConfigurator.configure();
>               logger.debug("Starting up App");
>               System.out.println("System.out.println(\"starting up
App\")");

Is this your code???
If it is this aint going to do anything, give us the whole lot.

Nicholas Orr


-----Original Message-----
From: Adam Krieg [mailto:akrieg@;marketaxess.com] 
Sent: Wednesday, 13 November 2002 9:35 PM
To: '[EMAIL PROTECTED]'
Subject: BasicConfigurator not printing debug statements


> According to the manual:
> "The invocation of the BasicConfigurator.configure 
> <api/org/apache/log4j/BasicConfigurator.html> method creates a rather 
> simple log4j setup. This method is hardwired to add to the root 
> category a ConsoleAppender printing on the console. The output will be 
> formatted using a PatternLayout set to the pattern "%-4r [%t] %-5p %c 
> %x - %m%n Note that by default, the root category is assigned to 
> Priority.DEBUG "
> 
> 
> My Code
> 
>               BasicConfigurator.configure();
>               logger.debug("Starting up App");
>               System.out.println("System.out.println(\"starting up
App\")");
> 
> My Console:
> $ java -jar myApp.jar
> System.out.println("starting up App  ")
> 
> In playing with the code, I see something interesting which may shed 
> some light on the problem.  If I comment out 
> BasicConfigurator.configure(); I don't get any warning message when I 
> run.
> 
> Anybody run into similar problems?
> 
> Adam

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>


**********************************************************************
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
                                        International ++61 7 38338042
**********************************************************************


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>

Reply via email to