Clear — MARK — from logs

Clear existing ones:

sed '/.*MARK --/d' messages > messagesf
#Or replace on the spot:
sed -i '/.*MARK --/d' messages

Only write it once per day:

vim /etc/default/syslogd
SYSLOGD="-m 1440"

Leave a Reply

Your email address will not be published. Required fields are marked *