fix:日志调整优化

上级 2c849a9c
2023-07-15 12:46:06 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 28497 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-07-15 12:46:06 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-07-15 12:46:06 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-07-15 12:46:06 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-07-15 12:46:06 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-07-15 12:46:07 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-07-15 12:46:07 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-07-15 12:46:07 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 34 ms. Found 0 Redis repository interfaces.
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$6c31cc4d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$7677ac82] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-07-15 12:46:08 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-07-15 12:46:08 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-07-15 12:46:08 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-07-15 12:46:08 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-07-15 12:46:08 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-07-15 12:46:08 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-07-15 12:46:08 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-07-15 12:46:08 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$164c1ef7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:08 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-07-15 12:46:09 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-07-15 12:46:09 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-07-15 12:46:09 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-07-15 12:46:09 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-07-15 12:46:09 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-07-15 12:46:09 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3067 ms
2023-07-15 12:46:10 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-07-15 12:46:10 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-07-15 12:46:10 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-07-15 12:46:10 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-07-15 12:46:10 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-07-15 12:46:10 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-07-15 12:46:10 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-07-15 12:46:10 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-07-15 12:46:10 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-07-15 12:46:10 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-07-15 12:46:11 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-07-15 12:46:11 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$80a9d5be] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-07-15 12:46:12 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-07-15 12:46:13 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-07-15 12:46:13 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-07-15 12:46:14 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8888"]
2023-07-15 12:46:14 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-07-15 12:46:14 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-07-15 12:46:14 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 8.976 seconds (JVM running for 11.581)
因为 它太大了无法显示 source diff 。你可以改为 查看blob
2023-08-10 09:00:51 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 37922 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 09:00:51 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 09:00:51 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 09:00:51 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 09:00:51 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 09:00:52 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 09:00:52 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 09:00:52 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 28 ms. Found 0 Redis repository interfaces.
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$ca650a1b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$d4aaea50] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 09:00:53 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 09:00:53 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 09:00:53 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:00:53 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 09:00:53 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 09:00:53 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:00:53 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:00:53 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$747f5cc5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:53 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:00:54 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 09:00:54 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 09:00:54 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 09:00:54 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 09:00:54 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 09:00:54 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2993 ms
2023-08-10 09:00:55 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 09:00:55 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 09:00:55 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:00:55 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 09:00:55 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:00:55 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 09:00:55 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 09:00:55 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 09:00:55 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 09:00:55 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:01:00 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 37948 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 09:01:00 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 09:01:00 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 09:01:00 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 09:01:00 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 09:01:02 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 09:01:02 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 09:01:02 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 26 ms. Found 0 Redis repository interfaces.
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$3200178] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$d65e1ad] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 09:01:02 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 09:01:02 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 09:01:02 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:01:02 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 09:01:02 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 09:01:02 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:01:02 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:01:02 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:02 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$ad3a5422] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:01:03 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 09:01:03 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 09:01:03 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 09:01:03 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 09:01:03 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 09:01:03 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2947 ms
2023-08-10 09:01:04 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 09:01:04 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 09:01:04 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:01:04 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 09:01:04 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:01:04 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 09:01:04 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 09:01:04 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 09:01:05 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 09:01:05 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:01:05 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-08-10 09:01:06 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$605b853c] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-08-10 09:01:07 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-08-10 09:01:08 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-08-10 09:01:08 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-08-10 09:01:08 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-08-10 09:01:08 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-08-10 09:01:08 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-08-10 09:01:08 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-08-10 09:01:08 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-08-10 09:01:08 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_3
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_2
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_2
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_4
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_3
2023-08-10 09:01:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_2
2023-08-10 09:01:09 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 9.042 seconds (JVM running for 12.006)
2023-08-10 09:01:10 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource start closing ....
2023-08-10 09:01:10 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ...
2023-08-10 09:01:10 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed
2023-08-10 09:01:10 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2} closing ...
2023-08-10 09:01:10 [SpringApplicationShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2} closed
2023-08-10 09:01:10 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource all closed success,bye
2023-08-10 09:13:01 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 41911 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 09:13:01 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 09:13:01 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 09:13:02 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 09:13:02 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 09:13:03 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 09:13:03 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 09:13:03 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 24 ms. Found 0 Redis repository interfaces.
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$b723de30] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$c169be65] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 09:13:03 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 09:13:03 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 09:13:03 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:13:03 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:13:03 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:03 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 09:13:03 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 09:13:03 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:13:03 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:13:03 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 09:13:04 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:04 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$613e30da] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:04 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:04 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 09:13:04 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 09:13:04 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 09:13:04 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 09:13:04 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 09:13:04 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2788 ms
2023-08-10 09:13:05 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 09:13:05 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 09:13:05 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:13:05 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 09:13:05 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:13:05 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 09:13:05 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 09:13:05 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 09:13:05 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 09:13:06 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:13:06 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-08-10 09:13:07 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$26038811] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-08-10 09:13:08 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-08-10 09:13:09 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-08-10 09:13:09 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-08-10 09:13:09 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8888"]
2023-08-10 09:13:09 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_3
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-08-10 09:13:09 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-08-10 09:13:10 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_2
2023-08-10 09:13:10 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_2
2023-08-10 09:13:10 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_4
2023-08-10 09:13:10 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_3
2023-08-10 09:13:10 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_2
2023-08-10 09:13:10 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 8.653 seconds (JVM running for 11.003)
2023-08-10 09:13:14 [SpringContextShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource start closing ....
2023-08-10 09:13:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ...
2023-08-10 09:13:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed
2023-08-10 09:13:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2} closing ...
2023-08-10 09:13:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2} closed
2023-08-10 09:13:14 [SpringContextShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource all closed success,bye
2023-08-10 09:13:19 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 09:13:19 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 41955 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 09:13:19 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 09:13:19 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 09:13:19 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 09:13:20 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 09:13:20 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 09:13:20 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 24 ms. Found 0 Redis repository interfaces.
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$69b0a2cd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$73f68302] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 09:13:21 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 09:13:21 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 09:13:21 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:13:21 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 09:13:21 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 09:13:21 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:13:21 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:13:21 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$13caf577] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:13:22 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 09:13:22 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 09:13:22 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 09:13:22 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 09:13:22 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 09:13:22 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2851 ms
2023-08-10 09:13:22 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 09:13:22 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 09:13:23 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:13:23 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 09:13:23 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:13:23 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 09:13:23 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 09:13:23 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 09:13:23 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 09:13:23 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:13:24 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-08-10 09:13:24 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$f74d898a] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-08-10 09:13:25 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-08-10 09:13:26 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-08-10 09:13:26 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-08-10 09:13:27 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8888"]
2023-08-10 09:13:27 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_3
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_2
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_2
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_4
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_3
2023-08-10 09:13:27 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_2
2023-08-10 09:13:27 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 9.122 seconds (JVM running for 12.419)
2023-08-10 09:14:14 [SpringContextShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource start closing ....
2023-08-10 09:14:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ...
2023-08-10 09:14:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed
2023-08-10 09:14:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2} closing ...
2023-08-10 09:14:14 [SpringContextShutdownHook] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2} closed
2023-08-10 09:14:14 [SpringContextShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource all closed success,bye
2023-08-10 09:14:20 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 42120 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 09:14:20 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 09:14:20 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 09:14:20 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 09:14:20 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 09:14:21 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 09:14:21 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 09:14:21 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 25 ms. Found 0 Redis repository interfaces.
2023-08-10 09:14:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$8acedbc9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$9514bbfe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:21 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:21 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 09:14:21 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 09:14:22 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 09:14:22 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:14:22 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 09:14:22 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 09:14:22 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:14:22 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:14:22 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$34e92e73] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:14:22 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 09:14:22 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 09:14:22 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 09:14:22 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 09:14:22 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 09:14:22 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2814 ms
2023-08-10 09:14:23 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 09:14:23 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 09:14:24 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:14:24 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 09:14:24 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:14:24 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 09:14:24 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 09:14:24 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 09:14:24 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 09:14:24 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:14:25 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-08-10 09:14:25 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$8f39c700] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-08-10 09:14:26 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-08-10 09:14:29 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-08-10 09:14:29 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-08-10 09:14:29 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8888"]
2023-08-10 09:14:29 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-08-10 09:14:29 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-08-10 09:14:29 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-08-10 09:14:29 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-08-10 09:14:29 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-08-10 09:14:29 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_3
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_2
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_2
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_4
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_3
2023-08-10 09:14:30 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_2
2023-08-10 09:14:30 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 10.743 seconds (JVM running for 13.688)
2023-08-10 09:19:34 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 43784 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 09:19:34 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 09:19:34 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 09:19:34 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 09:19:34 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 09:19:36 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 09:19:36 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 09:19:36 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 25 ms. Found 0 Redis repository interfaces.
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$e12e4362] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$eb742397] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 09:19:36 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 09:19:36 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 09:19:36 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:19:36 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 09:19:36 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 09:19:36 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 09:19:36 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 09:19:36 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:36 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$8b48960c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:37 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 09:19:37 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 09:19:37 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 09:19:37 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 09:19:37 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 09:19:37 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 09:19:37 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2987 ms
2023-08-10 09:19:38 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 09:19:38 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 09:19:38 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:19:38 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 09:19:39 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:19:39 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 09:19:39 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 09:19:39 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 09:19:39 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 09:19:39 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 09:19:39 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-08-10 09:19:40 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$614dfff8] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-08-10 09:19:41 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-08-10 09:19:42 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-08-10 09:19:42 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-08-10 09:19:42 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8888"]
2023-08-10 09:19:42 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_3
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-08-10 09:19:42 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-08-10 09:19:43 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_2
2023-08-10 09:19:43 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_2
2023-08-10 09:19:43 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_4
2023-08-10 09:19:43 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_3
2023-08-10 09:19:43 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_2
2023-08-10 09:19:43 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 8.886 seconds (JVM running for 11.394)
2023-08-10 10:07:24 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Starting SpringBootKwanApplication using Java 1.8.0_321 on qinyingjiedeMacBook-Pro.local with PID 53838 (/Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan/target/classes started by qinyingjie in /Users/qinyingjie/Documents/idea-workspace/SpringBoot-kwan)
2023-08-10 10:07:24 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.3.Final
2023-08-10 10:07:24 [restartedMain] INFO c.k.s.SpringBootKwanApplication - No active profile set, falling back to 1 default profile: "default"
2023-08-10 10:07:24 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-08-10 10:07:24 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-08-10 10:07:25 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2023-08-10 10:07:25 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-10 10:07:25 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 34 ms. Found 0 Redis repository interfaces.
2023-08-10 10:07:25 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$SeataDataSourceConfiguration$$EnhancerBySpringCGLIB$$4b35cd21] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:25 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:25 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:25 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$557bad56] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:25 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:25 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:25 [restartedMain] INFO i.s.s.b.a.SeataAutoConfiguration - Automatically configure Seata
2023-08-10 10:07:25 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is registry
2023-08-10 10:07:25 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.config.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO io.seata.config.FileConfiguration - The file name of the operation is file.conf
2023-08-10 10:07:26 [restartedMain] INFO io.seata.config.ConfigurationFactory - load Configuration:FileConfiguration$$EnhancerByCGLIB$$862af1eb
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Initializing Global Transaction Clients ...
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 10:07:26 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Transaction Manager Client is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.client.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO io.seata.rm.datasource.AsyncWorker - Async Commit Buffer Limit: 10000
2023-08-10 10:07:26 [restartedMain] INFO i.s.r.d.xa.ResourceManagerXA - ResourceManagerXA init ...
2023-08-10 10:07:26 [restartedMain] INFO i.s.c.rpc.netty.NettyClientBootstrap - NettyClientBootstrap has started
2023-08-10 10:07:26 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Resource Manager is initialized. applicationId[spring-boot-name] txServiceGroup[default_tx_group]
2023-08-10 10:07:26 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Global Transaction Clients are initialized.
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$f5501fcb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-10 10:07:26 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8888 (http)
2023-08-10 10:07:26 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8888"]
2023-08-10 10:07:26 [restartedMain] INFO o.a.catalina.core.StandardService - Starting service [Tomcat]
2023-08-10 10:07:26 [restartedMain] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-08-10 10:07:27 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2023-08-10 10:07:27 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2966 ms
2023-08-10 10:07:27 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect ALIBABA SEATA and enabled it
2023-08-10 10:07:27 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1,kwan-ds} inited
2023-08-10 10:07:28 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:07:28 [restartedMain] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-2,ali-ds} inited
2023-08-10 10:07:28 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:07:28 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [kwan-ds] success
2023-08-10 10:07:28 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [ali-ds] success
2023-08-10 10:07:28 [restartedMain] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [kwan-ds]
2023-08-10 10:07:28 [restartedMain] INFO i.s.s.a.d.SeataAutoDataSourceProxyCreator - Auto proxy of [dataSource]
2023-08-10 10:07:28 [restartedMain] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:07:29 [restartedMain] INFO c.k.s.config.RedisConfig - ==================自定义的redisTemplate实例化了===================
2023-08-10 10:07:29 [restartedMain] INFO i.s.s.a.GlobalTransactionScanner - Bean[com.kwan.springbootkwan.service.impl.UserServiceImpl$$EnhancerBySpringCGLIB$$6f2efa84] with name [userServiceImpl] would use interceptor [io.seata.spring.annotation.GlobalTransactionalInterceptor]
2023-08-10 10:07:30 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
2023-08-10 10:07:32 [restartedMain] INFO o.s.b.c.r.s.JobRepositoryFactoryBean - No database type set, using meta data indicating: MYSQL
2023-08-10 10:07:32 [restartedMain] INFO o.s.b.c.l.support.SimpleJobLauncher - No TaskExecutor has been set, defaulting to synchronous executor.
2023-08-10 10:07:32 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8888"]
2023-08-10 10:07:32 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8888 (http) with context path ''
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Context refreshed
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.p.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.s.ApiListingReferenceScanner - Scanning for api listing references
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_1
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_1
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_1
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_1
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_2
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_3
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_2
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_1
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: deleteUsingDELETE_2
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: insertUsingPOST_2
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectAllUsingGET_4
2023-08-10 10:07:32 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: selectOneUsingGET_3
2023-08-10 10:07:33 [restartedMain] INFO s.d.s.w.r.o.CachingOperationNameGenerator - Generating unique operation named: updateUsingPUT_2
2023-08-10 10:07:33 [restartedMain] INFO c.k.s.SpringBootKwanApplication - Started SpringBootKwanApplication in 9.584 seconds (JVM running for 12.402)
2023-08-10 10:08:20 [http-nio-8888-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-08-10 10:08:20 [http-nio-8888-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2023-08-10 10:08:20 [http-nio-8888-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 8 ms
2023-08-10 10:08:20 [http-nio-8888-exec-1] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>preHandle
2023-08-10 10:08:21 [http-nio-8888-exec-1] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>postHandle
2023-08-10 10:08:21 [http-nio-8888-exec-1] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>afterCompletion
2023-08-10 10:08:26 [timeoutChecker_1_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:26 [timeoutChecker_2_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:36 [timeoutChecker_1_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:36 [timeoutChecker_2_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:42 [http-nio-8888-exec-3] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>preHandle
2023-08-10 10:08:42 [http-nio-8888-exec-3] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>postHandle
2023-08-10 10:08:42 [http-nio-8888-exec-3] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>afterCompletion
2023-08-10 10:08:46 [timeoutChecker_1_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:46 [timeoutChecker_2_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:49 [http-nio-8888-exec-4] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>preHandle
2023-08-10 10:08:51 [http-nio-8888-exec-4] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>postHandle
2023-08-10 10:08:51 [http-nio-8888-exec-4] INFO c.k.s.config.MyInterceptor - MyInterceptor>>>>>>>>>afterCompletion
2023-08-10 10:08:56 [timeoutChecker_1_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
2023-08-10 10:08:56 [timeoutChecker_2_1] ERROR i.s.c.r.n.NettyClientChannelManager - can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct
package com.kwan.springbootkwan.aop; package com.kwan.springbootkwan.aop;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint; import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*; import org.aspectj.lang.annotation.*;
...@@ -14,8 +15,8 @@ import org.springframework.stereotype.Component; ...@@ -14,8 +15,8 @@ import org.springframework.stereotype.Component;
*/ */
@Component @Component
@Aspect @Aspect
@Slf4j
public class LogAspect { public class LogAspect {
@Pointcut(value = "execution(* com.kwan.springbootkwan.service.*.*(..))") @Pointcut(value = "execution(* com.kwan.springbootkwan.service.*.*(..))")
public void pcl() { public void pcl() {
} }
...@@ -23,29 +24,29 @@ public class LogAspect { ...@@ -23,29 +24,29 @@ public class LogAspect {
@Before(value = "pcl()") @Before(value = "pcl()")
public void before(JoinPoint point) { public void before(JoinPoint point) {
String name = point.getSignature().getName(); String name = point.getSignature().getName();
System.out.println(name + "方法开始执行 ..."); log.info(name + "方法开始执行 ...");
} }
@After(value = "pcl()") @After(value = "pcl()")
public void after(JoinPoint point) { public void after(JoinPoint point) {
String name = point.getSignature().getName(); String name = point.getSignature().getName();
System.out.println(name + "方法执行结束 ..."); log.info(name + "方法执行结束 ...");
} }
@AfterReturning(value = "pcl()", returning = "result") @AfterReturning(value = "pcl()", returning = "result")
public void afterReturning(JoinPoint point, Object result) { public void afterReturning(JoinPoint point, Object result) {
String name = point.getSignature().getName(); String name = point.getSignature().getName();
System.out.println(name + "方法返回值为:" + result); log.info(name + "方法返回值为:" + result);
} }
@AfterThrowing(value = "pcl()", throwing = "e") @AfterThrowing(value = "pcl()", throwing = "e")
public void afterThrowing(JoinPoint point, Exception e) { public void afterThrowing(JoinPoint point, Exception e) {
String name = point.getSignature().getName(); String name = point.getSignature().getName();
System.out.println(name + "方法抛异常了,异常是:" + e.getMessage()); log.info(name + "方法抛异常了,异常是:" + e.getMessage());
} }
@Around("pcl()") @Around("pcl()")
public Object around(ProceedingJoinPoint pjp) throws Throwable { public Object around(ProceedingJoinPoint pjp) throws Throwable {
return pjp.proceed(); return pjp.proceed();
} }
} }
\ No newline at end of file
#这个配置是原始配置,不带seata
server:
port: 8761
servlet:
encoding:
force: true
charset: UTF-8
enabled: true
swagger:
enable: true
#兼容swagger配置
spring:
#项目启动时创建数据表的 SQL 脚本,该脚本由 Spring Batch 提供
#spring.datasource.schema=classpath:/org/springframework/batch/core/schema-mysql.sql
# 在项目启动时执行建表 SQL
batch:
initialize-schema: always
# 禁止 Spring Batch 自动执行,在 SpringBoot 中,默认情况,当项目启动时就会执行配置好的批理操作,添加了该配置后则不会自动执行,而需要用户手动触发执行
job:
enabled: false
mail:
host: smtp.qq.com
# 发送者的邮箱账号
username: 327782001@qq.com
# 邮箱密码授权码
password: kypxnmwfniqrcbeh
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
redis:
database: 0 # Redis数据库索引(默认为0)
host: 120.79.36.53 #Redis服务器地址
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# mysql
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
password: 716288qwe
#mybatis-plus配置
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
call-setters-on-nulls: true
auto-mapping-behavior: full
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*Mapper.xml
global-config:
banner: false
# 逻辑删除配置
db-config:
id-type: AUTO
logic-delete-field: delFlag
logic-delete-value: 1
logic-not-delete-value: 0
table-underline: true
#logger配置
logging:
config: classpath:logback-spring.xml
\ No newline at end of file
#这个配置是单数据库seata
server:
port: 8761
servlet:
encoding:
force: true
charset: UTF-8
enabled: true
swagger:
enable: true
#兼容swagger配置
spring:
application:
name: spring-boot-name
#项目启动时创建数据表的 SQL 脚本,该脚本由 Spring Batch 提供
#spring.datasource.schema=classpath:/org/springframework/batch/core/schema-mysql.sql
# 在项目启动时执行建表 SQL
batch:
initialize-schema: always
# 禁止 Spring Batch 自动执行,在 SpringBoot 中,默认情况,当项目启动时就会执行配置好的批理操作,添加了该配置后则不会自动执行,而需要用户手动触发执行
job:
enabled: false
mail:
host: smtp.qq.com
# 发送者的邮箱账号
username: 327782001@qq.com
# 邮箱密码授权码
password: kypxnmwfniqrcbeh
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
redis:
database: 0 # Redis数据库索引(默认为0)
host: 120.79.36.53 #Redis服务器地址
port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空)
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# mysql
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
password: 716288qwe
seata:
application-id: spring-boot-name
tx-service-group: my-tx-group
service:
vgroup-mapping:
my-tx-group: seata-server
grouplist:
seata-server: 127.0.0.1:8091
enabled: true
#mybatis-plus配置
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
call-setters-on-nulls: true
auto-mapping-behavior: full
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*Mapper.xml
global-config:
banner: false
# 逻辑删除配置
db-config:
id-type: AUTO
logic-delete-field: delFlag
logic-delete-value: 1
logic-not-delete-value: 0
table-underline: true
#logger配置
logging:
config: classpath:logback-spring.xml
\ No newline at end of file
#不同库不同表,带seata
server:
port: 8761
servlet:
encoding:
force: true
charset: UTF-8
enabled: true
swagger:
enable: true
#兼容swagger配置 #兼容swagger配置
spring: spring:
application:
name: spring-boot-name
#项目启动时创建数据表的 SQL 脚本,该脚本由 Spring Batch 提供
#spring.datasource.schema=classpath:/org/springframework/batch/core/schema-mysql.sql
# 在项目启动时执行建表 SQL
batch:
initialize-schema: always
# 禁止 Spring Batch 自动执行,在 SpringBoot 中,默认情况,当项目启动时就会执行配置好的批理操作,添加了该配置后则不会自动执行,而需要用户手动触发执行
job:
enabled: false
mail: mail:
host: smtp.qq.com host: smtp.qq.com
# 发送者的邮箱账号 # 发送者的邮箱账号
...@@ -39,16 +17,13 @@ spring: ...@@ -39,16 +17,13 @@ spring:
database: 0 # Redis数据库索引(默认为0) database: 0 # Redis数据库索引(默认为0)
host: 120.79.36.53 #Redis服务器地址 host: 120.79.36.53 #Redis服务器地址
port: 6379 # Redis服务器连接端口 port: 6379 # Redis服务器连接端口
password: # Redis服务器连接密码(默认为空) password: 123456 # Redis服务器连接密码(默认为空)
jedis: jedis:
pool: pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制) max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最小空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# mysql # mysql
datasource: datasource:
dynamic: dynamic:
...@@ -57,46 +32,13 @@ spring: ...@@ -57,46 +32,13 @@ spring:
datasource: datasource:
kwan-ds: kwan-ds:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root username: root
password: 716288qwe # password: 716288qwe
password: 15671628341Qwe.
ali-ds: ali-ds:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root username: root
password: 15671628341Qwe. password: 15671628341Qwe.
\ No newline at end of file
seata:
application-id: spring-boot-name
tx-service-group: my-tx-group
service:
vgroup-mapping:
my-tx-group: seata-server
grouplist:
seata-server: 127.0.0.1:8091
enabled: true
#mybatis-plus配置
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
call-setters-on-nulls: true
auto-mapping-behavior: full
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*Mapper.xml
global-config:
banner: false
# 逻辑删除配置
db-config:
id-type: AUTO
logic-delete-field: delFlag
logic-delete-value: 1
logic-not-delete-value: 0
table-underline: true
#logger配置
logging:
config: classpath:logback-spring.xml
\ No newline at end of file
...@@ -6,11 +6,10 @@ server: ...@@ -6,11 +6,10 @@ server:
charset: UTF-8 charset: UTF-8
enabled: true enabled: true
swagger:
enable: true
#兼容swagger配置 #兼容swagger配置
spring: spring:
profiles:
active: local
application: application:
name: spring-boot-name name: spring-boot-name
#项目启动时创建数据表的 SQL 脚本,该脚本由 Spring Batch 提供 #项目启动时创建数据表的 SQL 脚本,该脚本由 Spring Batch 提供
...@@ -21,54 +20,14 @@ spring: ...@@ -21,54 +20,14 @@ spring:
# 禁止 Spring Batch 自动执行,在 SpringBoot 中,默认情况,当项目启动时就会执行配置好的批理操作,添加了该配置后则不会自动执行,而需要用户手动触发执行 # 禁止 Spring Batch 自动执行,在 SpringBoot 中,默认情况,当项目启动时就会执行配置好的批理操作,添加了该配置后则不会自动执行,而需要用户手动触发执行
job: job:
enabled: false enabled: false
mail:
host: smtp.qq.com
# 发送者的邮箱账号
username: 327782001@qq.com
# 邮箱密码授权码
password: kypxnmwfniqrcbeh
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
redis:
database: 0 # Redis数据库索引(默认为0)
host: 120.79.36.53 #Redis服务器地址
port: 6379 # Redis服务器连接端口
password: 123456 # Redis服务器连接密码(默认为空)
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
mvc: mvc:
pathmatch: pathmatch:
matching-strategy: ant_path_matcher matching-strategy: ant_path_matcher
# mysql #seata:
datasource: # tx-service-group: default_tx_group
dynamic:
seata: true
primary: kwan-ds
datasource:
kwan-ds:
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
# password: 716288qwe
password: 15671628341Qwe.
ali-ds:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
password: 15671628341Qwe.
seata:
tx-service-group: default_tx_group
swagger:
enable: true
#seata: #seata:
# application-id: spring-boot-name # application-id: spring-boot-name
...@@ -88,7 +47,7 @@ mybatis-plus: ...@@ -88,7 +47,7 @@ mybatis-plus:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
call-setters-on-nulls: true call-setters-on-nulls: true
auto-mapping-behavior: full auto-mapping-behavior: full
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl #关闭sql日志 # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl #关闭sql日志
mapper-locations: classpath*:mapper/**/*Mapper.xml mapper-locations: classpath*:mapper/**/*Mapper.xml
......
...@@ -13,28 +13,50 @@ ...@@ -13,28 +13,50 @@
</encoder> </encoder>
</appender> </appender>
<appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender"> <springProfile name="dev,test,uat">
<file>logs/SpringBoot-kwan.log</file> <property name="log.dir" value="./logs/"/>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> <property name="file.log.pattern"
<fileNamePattern> value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX} %-5level [%thread] %logger{36} - %msg%n"/>
logs/SpringBoot-kwan-%d{yyyy-MM-dd}.%i.log
</fileNamePattern> <appender name="SYSTEM_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<maxFileSize>128MB</maxFileSize> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">            
<maxHistory>30</maxHistory> <fileNamePattern>${log.dir}system/%d.log</fileNamePattern>  
<totalSizeCap>20GB</totalSizeCap> </rollingPolicy>
</rollingPolicy> <encoder>
<encoder> <pattern>${file.log.pattern}</pattern>
<pattern>${file.log.pattern}</pattern> <charset>${log.charset}</charset>
<charset>${log.charset}</charset> </encoder>
</encoder> <append>true</append>
</appender> </appender>
<appender name="SQL_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">            
<fileNamePattern>${log.dir}/sql/%d.log</fileNamePattern>  
</rollingPolicy>
<encoder>
<pattern>${file.log.pattern}</pattern>
<charset>${log.charset}</charset>
</encoder>
<append>true</append>
</appender>
</springProfile>
<springProfile name="local">
<logger name="com.kwan.springbootkwan.mapper" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<root level="INFO">
<appender-ref ref="STDOUT"/>
</root>
</springProfile>
<logger name="com.kwan.springbootkwan.mapper" level="info" additivity="false"> <springProfile name="dev,test,uat">
<appender-ref ref="STDOUT"/> <logger name="com.kwan.springbootkwan.mapper" level="DEBUG" additivity="false">
</logger> <appender-ref ref="SQL_LOG"/>
</logger>
<root level="info"> <root level="INFO">
<appender-ref ref="STDOUT"/> <appender-ref ref="SYSTEM_LOG"/>
<appender-ref ref="ROLLING"/> </root>
</root> </springProfile>
</configuration> </configuration>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册