Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 'onFilteredOut' and 'onDroppedOnPublish' callback logs (#36399)
The 'onFilteredOut' and 'onDroppedOnPublish' callbacks debug logs can cause an infinity loop of log entries being logged over and over again when running under Elastic-Agent. Those log entries are removed to prevent this from happening in the future. The monitoring Filebeat uses a drop processor to drop its own logs, however if log level is debug the `onFilteredOut` callback debug log will log all dropped events, because it is done by the monitoring Filebeat, it will be picked up, dropped and logged again, creating this infinity loop.
- Loading branch information