Please add another system property switch:  

-Dlog4j.debug=true 

e.g.

java -Dlog4j.configuration=file://c:/jarfiles/log4j.properties
org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf

and cut/paste what is displayed to standard out into an email to this
list so that we can see what is happening..

cheers,

Paul Smith

> You keep insisting on using non-url syntax for your setup even when you
> reference the correct URL syntax.  Do this...
> 
> java -Dlog4j.configuration=file:/c:/jarfiles/log4j.properties
> org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf
> 
> Also, why are you saying...
> c:\\jarfiles\log4j.properties
> 
> You are escaping the first "\", but not the second one in the path.  Shouldn't
> it be?...
> c:\\jarfiles\\log4j.properties
> 
> Anyway, you have to use the URL syntax above for things to work.  BTW, I've also
> seen the URL file syntax on Windows be...
> file:///c:/jarfiles/log4j.properties
> 
> Use whichever one works for you.
> 
> Jake
> 
> At 05:01 PM 11/27/2003 +0800, you wrote:
> >Hi,
> >
> >I put my log4j.properties file in c:\\jarfiles and I did the following:
> >
> >java -Dlog4j.configuration=c:\\jarfiles\log4j.properties
> >org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf
> >
> >But I get the following:
> >
> >log4j:WARN No appenders could be found for logger 
> >(org.pdfbox.pdfparser.PDFParser).
> >log4j:WARN Please initialize the log4j system properly.
> >
> >I read the manual at
> >
> >http://jakarta.apache.org/log4j/docs/manual.html
> >
> >It says the following needs to be done for Tomcat 4:
> >
> >For example:
> >set 
> >CATALINA_OPTS=-Dlog4j.configuration=file:/c:/jarfiles/log4j.properties
> >In the environment variables.
> >And I did just that.
> >Can I do the following?
> >
> >java -Dlog4j.configuration=c:\\jarfiles\log4j.properties
> >org.pdfbox.searchengine.lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf 
> >I can choose the ignore the error message but I would like to solve 
> >this problem before moving on.
> >Anyone can help?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to