westbywest / robin-mesh-v2

Derivative of the ROBIN Mesh Firmware http://wiki-robin.meshroot.com/
4 stars 19 forks source link

Suppress redundant/dublicate syslog entries from busybox/crond #7

Open westbywest opened 11 years ago

westbywest commented 11 years ago

Default configuration for crond/busybox has all crontab entries logging to syslog, no matter what. This pollutes the syslog buffer when there are regularly scheduled tasks (e.g. once every 5min), and it gobbles up bandwidth needlessly when remote logging is used.

Allow specified entries in /etc/crontab/cron to NOT trigger entry to syslog.

westbywest commented 11 years ago

Looks like there are a couple steps to resolving this issue:

  1. Add option cronloglevel 9 to /etc/config/system, under section system
  2. Change the 'killall -HUP dnsmasq' cron to run hourly instead of every 5min. (Why is this needed? Presumably it came from the the freifunk-common package?)