Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 99946 invoked from network); 13 Aug 2002 16:47:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Aug 2002 16:47:34 -0000 Received: (qmail 11796 invoked by uid 97); 13 Aug 2002 16:47:57 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 11735 invoked by uid 97); 13 Aug 2002 16:47:55 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 11712 invoked by uid 98); 13 Aug 2002 16:47:54 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Chris Bailey" To: "Log4J Users List" Subject: RE: A basic and genuine question Date: Tue, 13 Aug 2002 09:50:19 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In terms of Chainsaw, you just run it as a Java app, specifying the main class. This is not obvious from the regular docs unless you look at the JavaDocs. But, the basic deal would be to run Chainsaw before your app (so you don't get the annoying "can't connect" messages from your app, by doing something similar to: java -cp log4j.jar org.apache.log4j.chainsaw.Main -----Original Message----- From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] Sent: Tuesday, August 13, 2002 6:15 AM To: Log4J Users List Subject: RE: A basic and genuine question Hi, A basic and genuine question? OK ;) >But log4j is writing output on terminal window though i did not mention >rootlogger and consoleapplender >anywhere, i found that the log4j writes output on terminal window default. > >How can i disable this from printing the log info on window.. That typically means it's misconfigured. Could it be you're calling BasicConfigurator.configure() before calling XMLConfigurator the first time? Alternativaly, please post your configuration file and initialization code and we'll be able to help more. >the next question is I'm not able to use below 2nd statement with >XMLLayout. Do you get an error? Not the output you expect? What do you mean by "not able to use" ? >and please let me know how to use chainsaw? The ChainSaw docs are pretty simple. Are you having difficulties with a specific part? Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: