Replies: 1 comment
-
Logger Scenario Rules |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I create log entries in Apex.
Logger.error(message, logItem).addTags(tags);
Logger.warn(message, logItem).addTags(tags);
....
The retention date is 14 days. I wonder why I can only select one logging level in a new logging setting (Error or Warn or ...). It works! but when I try to create a second logging setting with another logging level (Warn) I get a duplicate Error. I just want the retention date for all apex generated log entries (no matter what logging level) to be set to 30 days. So, what am I doing wrong? :)
Thanks a lot!!!!
Beta Was this translation helpful? Give feedback.
All reactions