From Apple’s official documentation:
In some cases, the contents of a volume are sufficiently secret that it is not appropriate to log them. To disable logging on a per-volume basis (for creating a backup volume, for example), you must do the following:
- Create a
.fseventsddirectory at the top level of the volume.- Create an empty
no_logfile in that directory.So if your volume is mounted at
/Volumes/MyDisk, you would create an empty file called/Volumes/MyDisk/.fseventsd/no_log.