With MySQL 8.0, the error logging subsystem has been redesigned to use the new component architecture.
Thanks to this new redesign, now the log events can be filtered, the output can be sent to multiple destinations (different formats like JSON). All that is controlled by system variables.
This work gives the possibility for a log event to become the raw material for log processing by more modern and automated systems like filebeat for beats, …
[Read more]