10:30:07,734 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
10:30:07,735 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
10:30:07,736 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/C:/Users/nbg/IdeaProjects/MatisRightDemo/target/classes/logback.xml]
10:30:07,849 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10:30:07,850 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
10:30:07,888 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [Console]
10:30:07,913 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
10:30:08,105 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.nbg] to DEBUG
10:30:08,105 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.nbg] to false
10:30:08,108 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@16:29 - no applicable action for [append-ref], current ElementPath is [[configuration][logger][append-ref]]
10:30:08,108 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
10:30:08,110 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@1a0dcaa - Registering current configuration as safe fallback point
Mon May 02 10:30:08 CST 2022 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
[User{id=1, name='聂宝根', gender='男', password='199', addr='辽宁沈阳'}, User{id=2, name='王晓爽', gender='女', password='199', addr='辽宁丹东'}]
Disconnected from the target VM, address: '127.0.0.1:51913', transport: 'socket'
Process finished with exit code 0
其实不影响的,如有去掉报错。
可在logback.xml文件中加入关闭显示
<!-- 关闭启动时logback日志显示 -->
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />