Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 78184 invoked from network); 27 Nov 2003 01:24:49 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Nov 2003 01:24:49 -0000 Received: (qmail 80571 invoked by uid 500); 27 Nov 2003 01:24:29 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 80373 invoked by uid 500); 27 Nov 2003 01:24:28 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 80356 invoked from network); 27 Nov 2003 01:24:28 -0000 Received: from unknown (HELO avalon.siteprotect.com) (64.26.0.99) by daedalus.apache.org with SMTP; 27 Nov 2003 01:24:28 -0000 Received: from victor (m018-230.nv.iinet.net.au [203.217.18.230]) by avalon.siteprotect.com (8.11.6/8.11.6) with ESMTP id hAR1OYu16558; Wed, 26 Nov 2003 19:24:34 -0600 Message-ID: <003401c3b485$37c89c50$ce00a8c0@victor> From: "Victor Hadianto" To: "Lucene Users List" , References: <200311261506.hAQF5xuQ004067@smtp23.singnet.com.sg> Subject: Re: log4j.properties Date: Thu, 27 Nov 2003 12:24:31 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > java -Dlog4j.configuration=log4j.xml org.pdfbox.searchengine.lucene.IndexFiles > -create -index c:\\index .. Hmm try to create log4j.xml instead of log4j.properties as specified in the command line parameter. ----- Original Message ----- From: "Tun Lin" To: "'Lucene Users List'" Sent: Thursday, November 27, 2003 2:05 AM Subject: RE: log4j.properties > I have integrated Lucene and PDFBox and tried the following command to index > files > > java -Dlog4j.configuration=log4j.xml org.pdfbox.searchengine.lucene.IndexFiles > -create -index c:\\index .. > > But I have the following error message: > log4j:WARN No appenders could be found for logger (org.pdfbox.pdfparser.PDFParse > r). > log4j:WARN Please initialize the log4j system properly. > > Anyone can help? > > -----Original Message----- > From: Erik Hatcher [mailto:erik@ehatchersolutions.com] > Sent: Wednesday, November 26, 2003 5:19 PM > To: Lucene Users List > Subject: Re: log4j.properties > > What does this have to do with Lucene? > > > On Wednesday, November 26, 2003, at 01:04 AM, Tun Lin wrote: > > > I have created the following "log4j.properties" and put it in your > > classpath but it still has that error. Anyone can help? > > > > log4j.rootCategory=stdout > > > > log4j.appender.stdout=org.apache.log4j.ConsoleAppender > > log4j.appender.stdout.layout=org.apache.log4j.PatternLayout > > log4j.appender.stdout.layout.ConversionPattern=%d %c - %m%n > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org