events{ worker_connections1024; } http{ log_formatmain'$remote_addr$remote_user[$time_local]"$request"' '$status$body_bytes_sent"$http_referer"' '"$http_user_agent""$http_x_forwarded_for"'; sendfileon; tcp_nopushon; tcp_nodelayon; keepalive_timeout65; types_hash_max_size2048; includemime.types; ...

配置了mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl;但是mybatis执行的sql没有输出 需要检查点: 1、日志级别设置:请确保你的日志级别配置正确。如果日志级别设置得太低,可能导致SQL语句不会被打印出来。你可以尝试将日志级别调整为DEBUG或更高级别,以确保SQL日志被输出。 2、日志依赖项:检查你的项目是否正确地引入了MyBatis和日志框架的依赖项。在使用org.apache.ibatis.logging.stdout.StdOutImpl时,你需要确保引入了适当的日...

关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~