logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <paul.sm...@lawlex.com.au>
Subject RE: Log4j configuration.
Date Fri, 28 Nov 2003 01:43:45 GMT
On Fri, 2003-11-28 at 12:36, Tun Lin wrote:
> Hi Paul,
> Thanks for your help and quick response but I still get the same error message
> although there are some additional statements printed out after running the
> following command as instructed by the last email.

This is good, it helps to see that Log4j has found the file ok.

> Command typed:
> java -Dlog4j.configuration=file:///c:/jarfiles/log4j.properties
> -Dlog4j.debug=true org.pdfbox.searchengine.
> lucene.LucenePDFDocument C:\\pdf\h6603lab4.pdf
> Error message:
> log4j: Using URL [file:/c:/jarfiles/log4j.properties] for automatic log4j config
> uration.
> log4j: Reading configuration from URL file:/c:/jarfiles/log4j.properties
> log4j: Parsing for [root] with value=[stdout].
> log4j: Level token is [stdout].
> log4j: Category root set to DEBUG
> log4j: Finished configuring.
> log4j:WARN No appenders could be found for logger (org.pdfbox.pdfparser.PDFParse
> r).
> log4j:WARN Please initialize the log4j system properly. 

Next, please paste the entire contents of the
c:/jarfiles/log4j.properties file into another email to the list.  It
looks like that is the culprit.


Paul Smith

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

View raw message