View Single Post
Old 02-16-2011, 07:08 PM   #115
theblop
Junior Member
theblop began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2010
Device: kindle 3
Quote:
Originally Posted by the-equinoxe View Post
The easiest way to disable sending the files is:
comment out the line
"/var/log/messages 256"
in the file etc/tinyrot-files.conf
That would disable the rotation of /var/log/messages which is not a good idea...

To disable showlog, on my Kindle 3.0.3 I replaced:

OUTFILE=/dev/stdout
with:
OUTFILE=/dev/null
(around line 156)

and:
OUTFILE="$1"
with:
OUTFILE=/dev/null
(around line 178)

Disabling the whole script with a call to "exit" near the top would achieve the same effect.
theblop is offline