Excluding Creating Directory from email notifications

HI all, I’m trying to setup simply email notifications to show if an operation has completed successfully and I can’t find out how to exclude these repeating Creating Directory logs from showing from a Check, Prune or Backup in email notifications. Also, I can’t work out how exclude the SNAPSHOT_CHECK table. Anyone know how to do this?

Running check command from /cache/localhost/all
Options: [-log check -storage Something -a -tabular]
Creating directory snapshots/Something/
Creating directory snapshots/Something
Creating directory snapshots/Something

Running prune command from /cache/localhost/all
Options: [-log prune -storage Something -keep 0:1800 -keep 7:30 -keep 1:7 -a]
Creating directory snapshots/Something/
Creating directory snapshots/Something
Creating directory snapshots/Something

2025-02-16 01:37:42.994 INFO SNAPSHOT_CHECK
snap | rev | | files | bytes | chunks | bytes | uniq | bytes | new | bytes |
Something | 1 | @ 2024-04-28 16:46 -hash | 12020 | 754,594M | 130382 | 571,571M | 3 | 947K | 130382 | 571,571M |
Something | 1 | @ 2024-04-28 16:46 -hash | 12020 | 754,594M | 130382 | 571,571M | 3 | 947K | 130382 | 571,571M |
Something | 1 | @ 2024-04-28 16:46 -hash | 12020 | 754,594M | 130382 | 571,571M | 3 | 947K | 130382 | 571,571M |

Both can’t be easily excluded without code changes. The Creating directory log is printed by a fmt.Printf call which should have been removed. The SNAPSHOT_CHECK table is a multiple line log, and only the first line has the SNAPSHOT_CHECK log id, so it can’t be simply excluded by the -suppress option.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.