[ http://issues.apache.org/jira/browse/NUTCH-156?page=all ]
     
Sami Siren resolved NUTCH-156:
------------------------------

    Resolution: Won't Fix

i quess the logging is now handled differently, so old logs sre not overwritten 
anymore

> nutch-daemon.sh should not overwrite old logs by default
> --------------------------------------------------------
>
>          Key: NUTCH-156
>          URL: http://issues.apache.org/jira/browse/NUTCH-156
>      Project: Nutch
>         Type: Bug

>     Versions: 0.8-dev
>  Environment: a;;
>     Reporter: Paul Baclace
>  Attachments: nutch-daemon.sh.patch
>
> nutch-daemon.sh creates a log file with the name pattern 
>   "$NUTCH_LOG_DIR/nutch-$NUTCH_IDENT_STRING-$command-`hostname`.log"
> every time it is run.  This can overwrite a previous log without warning.  As 
> such, it is too easy to accidently lose a log that might contain unique 
> failure information.  
> Workaround:   one must remember to put aside the old logs before restarting a 
> daemon.
> Suggested fix:
>   Change the log name pattern in nutch-daemon.sh to include an ISO date:
>    "$NUTCH_LOG_DIR/nutch-$NUTCH_IDENT_STRING-$command-$(hostname)-$(date 
> '+%Y%m%dT%H%M%S').log"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to