View Single Post
Old 02-21-2010, 12:23 AM   #28
geekraver
Addict
geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.geekraver can eat soup with a fork.
 
Posts: 295
Karma: 9282
Join Date: Jul 2006
Location: Redmond
Device: iPad,Nexus 7,Kobo Glo
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   Reply With Quote