During my time with Yosemite, I've had an innocuous issue that gets logged to system.log
non-stop.
This question is not about solving the issue.
I'd like to stop the chatter, because they're writes to the drive which is an SSD, and could do without them.
How can I silence or prevent the writes to the log?
The messages come from the kernel and blame IO80211ScanManager
. Example:
Nov 19 02:04:46 Louis-MBP kernel[0]: IO80211ScanManager::startScan: pid 29 had pending scan request. Deleting.
They dominate the log, whose 4000 most recent messages usually cover about a day.
Best Answer
Logging to system.log is controlled by the /etc/asl.conf file. The default is to send all kernel messages to system.log. If you add a priority level restriction, the trivial system complaints won't be logged.
Edit the file /etc/asl.conf and find a line that looks like this
and change it to
Send a HUP signal to the
syslogd
process (or just restart your system) and the logging behavior will be changed. Usepgrep
from Terminal to find the process ID for syslogd. E.g.Then send a HUP signal to that process ID with the
kill
program.