-
Notifications
You must be signed in to change notification settings - Fork 120
Description
Macs Fan Control generates a HUGE (and somewhat useless) logfile. This especially grows quickly when I run it with some custom mode (e.g. "Based on CPU PECI" or similar).
cd "$(getconf DARWIN_USER_TEMP_DIR)"
ls MacsFanControl.log
-> a huge GiB-sized logfile.
I'm using 1.5.18 on OS X Yosemite here (according the website the last version suitable for the old operating system).
Other people reported this before and a fix supposedly was added for an older than 1.5.18 version of Macs Fan Control, but the instructions here are Windows-only. So how can I disable this HUGE log when I run the app on OS X? I can't find any obvious method/ setting to make it shut up by itself.
I had to setup a nasty kluge via a LaunchAgents that runs on system start (or manually) that creates the logfile as symlink to /dev/null for now.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Yikes, try to stop the madness with the HUGE ASS log file -->
<key>Label</key>
<string>localhost.macs_fan_control-log</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>/bin/ln -s /dev/null "$(getconf DARWIN_USER_TEMP_DIR)/MacsFanControl.log"</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>LaunchOnlyOnce</key>
<true/>
<key>KeepAlive</key>
<false/>
<key>Disabled</key>
<false/>
</dict>
</plist>
😢