For 2.3, on my Kindle DX, I made this change right near the end of /usr/bin/showlog:
else # Sending full logs
print_stream_header `ls $ARCHIVE_DIR/${LOG}_*.gz | wc -l ` >> $OUTFILE
$GZIP_HEADER_TYPE `ls $ARCHIVE_DIR/${LOG}_*.gz | xargs ` >> $OUTFILE
fi
echo "" > $OUTFILE # GeekRaver's hax
Just the last line is mine; the rest is to show the context. That just replaces the logs with an empty string.
Earlier in the file there is a line:
OUTFILE=/dev/stdout
which I changed to:
OUTFILE=/dev/null
Last edited by geekraver; 02-21-2010 at 01:02 AM.
|