There seems to be two log4j.properties files in generated war, is this 
intentional? However
it works just fine.

jar -tf nutch-0.8-dev.war |grep log4j.properties
WEB-INF/classes/log4j.properties
WEB-INF/classes/log4j.properties

--
 Sami Siren


Jerome Charron (JIRA) wrote:

>     [ http://issues.apache.org/jira/browse/NUTCH-303?page=all ]
>     
>Jerome Charron resolved NUTCH-303:
>----------------------------------
>
>    Resolution: Fixed
>
>Nutch now uses the Commons Logging API and log4j as the default implementation.
>
>There is 3 log4j.properties configuration files:
>  1. conf/log4j.properties used by the back-end. 
>It uses by default the Daily Rolling File Appender. By default, the logging 
>file is located in $NUTCH_HOME/logs/nutch.log
>Another location can be specified by using env. variables $NUTCH_LOG_DIR and 
>$NUTCH_LOGFILE.
>
>   2. src/web/log4j.properties used by the front-end container.
>It uses by default the Console Appender.
>
>  3. srr/test/log4j.properties used by unit tests
>It uses by default the Console Appender.
>
>I have tested this patch on both front-end / back-end and unit tests env.
>But please notice, that I have only one box available => I just tested it on 
>mono-deployment env.
>
>
>  
>
>>logging improvements
>>--------------------
>>
>>         Key: NUTCH-303
>>         URL: http://issues.apache.org/jira/browse/NUTCH-303
>>     Project: Nutch
>>        Type: Improvement
>>    
>>
>
>  
>
>>    Versions: 0.8-dev
>>    Reporter: Jerome Charron
>>    Assignee: Jerome Charron
>>    Priority: Minor
>>     Fix For: 0.8-dev
>>    
>>
>
>  
>
>>Switch to the apache commons logging facade.
>>See HADOOP-211 and following thread 
>>http://www.mail-archive.com/nutch-developers%40lists.sourceforge.net/msg08706.html
>>    
>>
>
>  
>



_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to