InterviewSolution
| 1. |
I Am Getting The Below Log4j Warning Message, How Do I Remove It? |
|
Answer» log4j:WARN No appenders could be FOUND for logger (org.apache.pdfbox.util.ResourceLoader). log4j:WARN Please initialize the log4j system properly. This message means that you need to configure the log4j logging system. See the log4j documentation for more information. PDFBox COMES with a sample log4j CONFIGURATION FILE. To use it you SET a system property like this java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText <PDF-file> <output-text-file> If this is not working for you then you may have to specify the log4j config file using a URL path, like this: log4j.configuration=file:///<path to config file> log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.ResourceLoader). log4j:WARN Please initialize the log4j system properly. This message means that you need to configure the log4j logging system. See the log4j documentation for more information. PDFBox comes with a sample log4j configuration file. To use it you set a system property like this java -Dlog4j.configuration=log4j.xml org.apache.pdfbox.ExtractText <PDF-file> <output-text-file> If this is not working for you then you may have to specify the log4j config file using a URL path, like this: log4j.configuration=file:///<path to config file> |
|