You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Laravel 11 with Filament v3 together with this awesome plugin to manage and log exceptions in my application. My notifications and some other Jobs are dispatched using a Redis queue, with retries configured (up to 3 or sometimes 5 attempts).
Currently, FilamentExceptions logs every exception, even for intermediate retries. This results in duplicate log entries for the same error when the job is retried. For example, if a notification fails due to a network issue (Connection to "xxx" has been closed unexpectedly) but succeeds on the second or third retry, the initial errors are still logged to filament exceptions.
Also, very important! Some jobs do not have a set retry variable. If those jobs fail on the first try, this means this is also the last try. Of course, I also want to log those failures. I only want to get rid of failed jobs being logged, which still have another retry left. Intermediate retry failures should not be logged to avoid noise in the logs. How can I archive this?
The text was updated successfully, but these errors were encountered:
I am using Laravel 11 with Filament v3 together with this awesome plugin to manage and log exceptions in my application. My notifications and some other Jobs are dispatched using a Redis queue, with retries configured (up to 3 or sometimes 5 attempts).
Currently, FilamentExceptions logs every exception, even for intermediate retries. This results in duplicate log entries for the same error when the job is retried. For example, if a notification fails due to a network issue (Connection to "xxx" has been closed unexpectedly) but succeeds on the second or third retry, the initial errors are still logged to filament exceptions.
Also, very important! Some jobs do not have a set retry variable. If those jobs fail on the first try, this means this is also the last try. Of course, I also want to log those failures. I only want to get rid of failed jobs being logged, which still have another retry left. Intermediate retry failures should not be logged to avoid noise in the logs. How can I archive this?
The text was updated successfully, but these errors were encountered: