Comment 1 for bug 734469

Revision history for this message
crazy ivan (x-floc) wrote :

Found a solution to circumvent this problem and now my monitor script reads:

#!/bin/sh
system=`since /var/log/*.log | sed '/nothing new/ d' | sed '/message repeated/ d' | sed '/==>/ d' `
test "$system" != "" && echo $system >> /home/user/.all.log
tail -n 10 /home/user/.all.log
test $(stat -c "%s" /home/user/.all.log) -gt 1000000 && echo "Log file exceeded maximum size" > /home/user/.all.log

Anyhow, this is clearly not the desired behavior for the screenlet.