I have some very large ".log" files in the /private/var/log folder.
kernel.log.1, for example, is over 2 GB.
I'd like to set up a Hazel rule to delete any file in that folder that ends with ".log".
The problem is I want to make sure none of these files are cached by the Mac OS and "expected" to be there for writing.
Since I found these .log files in a directory that starts with "private", I wanted to make sure first.
All the other log directories are small by comparison.
So, is it OK to remove files with ".log" in the file name in /private/var/log?
Thanks in advance.
- m
kernel.log.1, for example, is over 2 GB.
I'd like to set up a Hazel rule to delete any file in that folder that ends with ".log".
The problem is I want to make sure none of these files are cached by the Mac OS and "expected" to be there for writing.
Since I found these .log files in a directory that starts with "private", I wanted to make sure first.
All the other log directories are small by comparison.
So, is it OK to remove files with ".log" in the file name in /private/var/log?
Thanks in advance.
- m