6

I'm using DaisyDisk to clean my hard drive and it is showing nearly 8GB of files in /private/var/log/asl. Are those files safe to delete?

  • 3
    Logs do get cleaned automatically usually, so it might be worthwhile to have a look at the timestamps of the logs. If they are more than 2-3 weeks old, the cleanup doesn't seem to be working (which would probably lead to a new question...). – nohillside Aug 7 '13 at 13:36
  • Wow, 8GB of logs!? – lhf Aug 7 '13 at 14:22
6

Yes, you can safely delete log files. In the case of an application needing to write a new entry and the file not being found, it will be re-created automatically.

Just bear in mind that these ASL (Apple System Log) files may contain some useful information to trace or debug any issues you could be experimenting with your computer, which, of course, will be lost with the deletion of the files.

So, in case you might want to take a look at these files before deleting them, you could use the syslog command as follows: syslog -f /private/var/log/asl/nameOfTheFile.asl

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .