How to turn off runaway log writing on your Mac