jeudi 19 février 2015

Is there any way of limiting the space devoted to log files?


Is there any way of limiting the space devoted to log files?


I was running a little short of disk space and checked where it was used (if anyone is interested the following shows directories > 1GB) sudo du -hxd1 /Users/ian/Library/Developer | grep 'G\t'


I discovered ~/Library/Logs/CrashReporter was using almost 2GB (much of this seems to have been migrated from a Mavericks installation - even less than useless). Manually pruning this seems to be inordinately time consuming. I would like to automatically limit this to a reasonable size.





Aucun commentaire:

Enregistrer un commentaire