首页 > 其他分享 >03-配置日志

03-配置日志

时间:2022-10-25 08:56:15浏览次数:35  
标签:03 log stdout 配置 ibatis 日志

我们所有的sql是不可见的,我们希望知道他们是怎么执行的,所以要配置日志知道

# 设置日志
mybatis-plus:
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

image

标签:03,log,stdout,配置,ibatis,日志
From: https://www.cnblogs.com/lengyingmofeng/p/16823741.html

相关文章

  • Oct 24 2022 学习日志
    Dijkstra用pair实现$edge$(struct)建立edge数组$E$来记录每个点的出边$pair<int,int>$(struct)用来给优先队列服务,$first$为$dis[u]$,$second$为$u$初始化:$dis[u]=......
  • prometheus 部署到一个容器里配置脚本
    目录prometheus部署到一个容器里配置脚本背景安装脚本Dockerfilestart.sh启动脚本restart.shapplication.conf启动向consul中注册的json配置cAdvisor_exporter.jsonmysql......
  • Spring AOP 报错:Error creating bean with name 'student' defined in file
    问题概述SpringAOP报错,一直显示:Errorcreatingbeanwithname'student'definedinfile的报错。从五个方向排查:第一,aspectj包的scope是不是runtime;第二,jar包是......
  • Linux系统配置cron定时任务
    创建用户:groupadd-g567testuseradd-u567-gtest-d/home/v-mvchowntest:test/home/v       ......
  • IDEA每次打开新项目Maven配置都会重置
    IDEA每次打开新项目Maven配置都会重置你有咩有遇到过每次导入项目的时候,就会有些设置会莫名其妙的重置,这是因为没有配置打开新项目加载的配置。首先打开IDEA,然后File,选......
  • application.properties 配置
    spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxx?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8......
  • docker 配置mysql主从复制
    二、主从复制2-1:配置主服务器2-1-1:配置主服务器的my.cnf添加以下内容[mysqld]##同一局域网内注意要唯一server-id=1##开启二进制日志功能,可以随便取(关键)log-bin......
  • Springboot数据库的配置问题
    mysql时区问题先前的代码如下spring:datasource:url:jdbc:mysql://localhost:3306/testusername:rootpassword:110120driver-class-name:com......
  • settings.gradle配置
    AndroidStudio版本:android-studio-2021.3.1.16-windows.exe报错:Plugin[id:'com.android.application',version:'7.3.0',apply:false]wasnotfoundinanyofthe......
  • Windows10安装Apache2.4.54并配置PHP5.6.40/PHP8.1.11
    环境Windows10Apache2.4.54PHP5.6.40/PHP8.1.11安装Apache下载Apache下载地址:https://www.apachehaus.com/cgi-bin/download.plx#MODULES24VS17下载完后解压到指......