View Single Post
Old 02-21-2010, 12:23 AM   #28
geekraver
Addict
geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.
 
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
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.
geekraver is offline