Remove logs from email

Hi all,

I have tried searching but couldn’t find an exact way of doing it. How would I go around removing all of the logs from the email and only keep the log that would cause it to fail - if it did fail? Or just the final log might be an easier way of doing it?

TIA,
Kind regards,

2 Likes

You can remove unwanted log messages from the email by adding their log ids to the Excluded Logs text field when configuring the email notification. The log id of a log message is the string after the log level. For instance in the follow log message the log id is REPOSITORY_SET:

2020-08-18 12:00:01.816 INFO REPOSITORY_SET Repository set to /Users/gchen/storage
1 Like