#服务器配置 server: port: 9000 #spring配置 spring: application: name: crm-service cloud: nacos: discovery: server-addr: @nacos.addr@ namespace: @nacos.namespace@ config: server-addr: @nacos.addr@ namespace: @nacos.namespace@ group: @nacos.group@ file-extension: yml ext-config: - data-id: shareconfig.yml group: DEFAULT_GROUP refresh: true profiles: active: @profiles.active@ datasource: driver-class-name: com.mysql.jdbc.Driver servlet: multipart: max-file-size: 40MB max-request-size: 40MB ############################## mybatis-plus 配置 ###################################### mybatis-plus: global-config: banner: false mapper-locations: classpath:mapper/*.xml logging: file: max-size: 100MB max-history: 30 name: /data/logs/hrotooa.log pattern: console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %class{36}#%M [line:%L] %cyan(%logger{50}) - %highlight(%msg) %n" file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %class{36}#%M [line:%L] %cyan(%logger{50}) - %highlight(%msg) %n" level: root: INFO web: DEBUG '[com.dianmi]': DEBUG org.springframework.web: INFO com.apache.ibatis: DEBUG java.sql.Connection: trace java.sql.Statement: trace java.sql.PreparedStatement: trace java.sql.ResultSet: debug net.sf.ehcache: debug org.mybatis.caches.ehcache: debug org.apache.camel: trace # 暴露端点 management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always