I'm customizing 0.9-dev code for my vertical search engine.  After rebuild
the nutch-0.9-dev.jar and put it into ROOT\WEB-INF\lib, there is an error
when starting Tomcat:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \ (The system cannot find the path specified)
       at java.io.FileOutputStream.openAppend(Native Method)
       at java.io.FileOutputStream.<init>(Unknown Source)
       at java.io.FileOutputStream.<init>(Unknown Source)
       at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
       at org.apache.log4j.FileAppender.activateOptions(FileAppender.java
:163)
....
log4j:ERROR Either File or DatePattern options are not set for appender
[DRFA].

It complains about log file.  When crawling, nutch script sets the
directory/file for hadoop log.  But, when doing search, this is not set.
Does nutch write log to haddop.log during web search?  How to make it not to
look for log file?

Thanks,
AJ
--
http://web2express.org

Reply via email to