> 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>

Reply via email to