SpringCloud project configures MySQL logs to output SQL execution content

1: Configuration

Configure the following content in the project's nacos configuration file:

The focus is on the log implementation of log-impl configuration

 Two: Effect

For springboot configuration methods, please refer to: " SpringBoot Enables MySQL Execution Log

Guess you like

Origin blog.csdn.net/yexiaomodemo/article/details/126871737