MySQL have the nice feature, which helps to write the error log with JSON format . This can be achieved through the MySQL components . In this blog, I am going to show the complete walkthrough involved in this process .
What is MySQL component ?
from MySQL document ,
MySQL Server includes a component-based infrastructure for extending server capabilities. A component provides services that are available to the server and other components. (With respect to service use, the server is a component, equal to other components.) Components interact with each other only through the services they provide.
Link : https://dev.mysql.com/doc/refman/8.0/en/server-components.html
How to enable the JSON logging ?
Step 1 : ( Installing the component ) :
…
[Read more]