Why has all logging stopped in my org? #921
-
|
We're running v4.16.5 and started using the tool back in October. We've been seeing logs on a semi-daily basis since. However, nothing has been logged for the last week, so, I used anonymous apex to create a log and got no result. The output looks okay, I tried querying the Log__c object directly and still no new records. Any ideas anyone? 15:02:54.759 (759551768)|CODE_UNIT_STARTED|[EXTERNAL]|execute_anonymous_apex |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
I would try to see whether or not the |
Beta Was this translation helpful? Give feedback.
-
|
You can try using Jetstream to subscribe to events.
|
Beta Was this translation helpful? Give feedback.
-
|
Good morning folks, thanks for getting back to me. I think that there may be nothing wrong, I've done some further research and found the following.
I spun up a new dev org and played around with the Save Method - I tried them all with no result. So I swapped to the Logging Level and ran through those and Hey Presto! I got a hit. I had been using Logger.debug(...) for my test and the level is set to ERROR. It was only when I lowered the Logging Level that I got the result. So, my test to find a problem was the problem... I guess that the system really is working without a hitch - it'll never last! @jongpie, so, can I assume that the Logging Level is the minimum level to trigger log entry creation? |
Beta Was this translation helpful? Give feedback.


Good morning folks, thanks for getting back to me. I think that there may be nothing wrong, I've done some further research and found the following.
@jongpie, thanks for the suggestion, the created and modified dates match. This is the setup:
I spun up a new dev org and played around with the Save Method - I tried them all with no result. So I swapped to the Logging Level and ran through those and Hey Presto! I got a hit. I had been using Logger.debug(...) for my test and the level is set to ERROR. It was only when I lowered the Logging Level that I got the result.
So, my test to find a problem was the problem... I guess that the system really is working without a hitch - it'll never last!