im using Guard and by the time using it i get a monstrous log with 15gb in the following paths:
/var/log/kern.log.1
/var/log/syslog.1
By the end of the day i have to delete this files so my machine can work in peace. My question is how to stop guard from creating this log files??
Im using ubuntu linux and running a jekyll server
You could set the settings as described here so that guard only logs on :error
with something like in addition you could use only or except to give you nothing actually being created:
logger level: :error,
only: []
However, as pointed out by fotanus, logrotate is the standard way of dealing with these logfiles and the way I would go about adressing the problem.
There are several different tutorials on how to use this to help manage your logging.