Commit ca00cbcf authored by qinxunjia's avatar qinxunjia

修改日志配置

parent 2f5047d5
2020-04-22 10:45:33,243 [INFO] [main] com.jz.Application [StartupInfoLogger.java : 55] Starting Application on DESKTOP-N870KLV with PID 2360 (D:\9zPro\plugin\target\classes started by qxj in D:\9zPro\plugin)
2020-04-22 10:45:33,247 [DEBUG] [main] com.jz.Application [StartupInfoLogger.java : 56] Running with Spring Boot v2.2.5.RELEASE, Spring v5.2.4.RELEASE
2020-04-22 10:45:33,247 [INFO] [main] com.jz.Application [SpringApplication.java : 655] The following profiles are active: test
2020-04-22 10:45:33,998 [WARN] [main] org.mybatis.spring.mapper.ClassPathMapperScanner [Logger.java : 44] No MyBatis mapper was found in '[com.jz]' package. Please check your configuration.
2020-04-22 10:45:34,128 [INFO] [main] o.s.data.repository.config.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 249] Multiple Spring Data modules found, entering strict repository configuration mode!
2020-04-22 10:45:34,133 [INFO] [main] o.s.data.repository.config.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 127] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-04-22 10:45:34,180 [INFO] [main] o.s.data.repository.config.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 187] Finished Spring Data repository scanning in 22ms. Found 0 Redis repository interfaces.
2020-04-22 10:45:34,323 [WARN] [main] org.mybatis.spring.mapper.ClassPathMapperScanner [Logger.java : 44] No MyBatis mapper was found in '[com.jz]' package. Please check your configuration.
2020-04-22 10:45:35,110 [INFO] [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer [TomcatWebServer.java : 92] Tomcat initialized with port(s): 19010 (http)
2020-04-22 10:45:35,123 [INFO] [main] org.apache.catalina.core.StandardService [DirectJDKLog.java : 173] Starting service [Tomcat]
2020-04-22 10:45:35,123 [INFO] [main] org.apache.catalina.core.StandardEngine [DirectJDKLog.java : 173] Starting Servlet engine: [Apache Tomcat/9.0.31]
2020-04-22 10:45:35,213 [INFO] [main] o.a.catalina.core.ContainerBase.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring embedded WebApplicationContext
2020-04-22 10:45:35,214 [INFO] [main] org.springframework.web.context.ContextLoader [ServletWebServerApplicationContext.java : 284] Root WebApplicationContext: initialization completed in 1883 ms
2020-04-22 10:45:35,281 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setMarketingAccount(java.lang.String)
2020-04-22 10:45:35,282 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setMarketingPassword(java.lang.String)
2020-04-22 10:45:35,282 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setNotificationAccount(java.lang.String)
2020-04-22 10:45:35,282 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setNotificationPassword(java.lang.String)
2020-04-22 10:45:35,282 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setSendVariable(java.lang.String)
2020-04-22 10:45:35,282 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setSendFixed(java.lang.String)
2020-04-22 10:45:35,282 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setPullReport(java.lang.String)
2020-04-22 10:45:35,283 [INFO] [main] o.s.b.f.annotation.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 496] Autowired annotation is not supported on static methods: public static void com.jz.sms.config.SMSConfig.setReportUrl(java.lang.String)
2020-04-22 10:45:35,499 [INFO] [main] o.s.scheduling.concurrent.ThreadPoolTaskExecutor [ExecutorConfigurationSupport.java : 181] Initializing ExecutorService 'applicationTaskExecutor'
2020-04-22 10:45:35,786 [INFO] [main] com.zaxxer.hikari.HikariDataSource [HikariDataSource.java : 110] HikariPool-1 - Starting...
2020-04-22 10:45:35,788 [WARN] [main] com.zaxxer.hikari.util.DriverDataSource [DriverDataSource.java : 70] Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2020-04-22 10:45:36,041 [INFO] [main] com.zaxxer.hikari.HikariDataSource [HikariDataSource.java : 123] HikariPool-1 - Start completed.
2020-04-22 10:45:36,995 [INFO] [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer [TomcatWebServer.java : 204] Tomcat started on port(s): 19010 (http) with context path ''
2020-04-22 10:45:36,998 [INFO] [main] com.jz.Application [StartupInfoLogger.java : 61] Started Application in 4.629 seconds (JVM running for 8.652)
2020-04-22 10:47:03,046 [INFO] [http-nio-19010-exec-2] o.a.catalina.core.ContainerBase.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-04-22 10:47:03,046 [INFO] [http-nio-19010-exec-2] org.springframework.web.servlet.DispatcherServlet [FrameworkServlet.java : 525] Initializing Servlet 'dispatcherServlet'
2020-04-22 10:47:03,053 [INFO] [http-nio-19010-exec-2] org.springframework.web.servlet.DispatcherServlet [FrameworkServlet.java : 547] Completed initialization in 6 ms
2020-04-22 10:47:03,072 [WARN] [http-nio-19010-exec-2] o.s.web.servlet.mvc.support.DefaultHandlerExceptionResolver [AbstractHandlerExceptionResolver.java : 199] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported]
2020-04-22 10:47:31,718 [WARN] [http-nio-19010-exec-3] o.s.web.servlet.mvc.support.DefaultHandlerExceptionResolver [AbstractHandlerExceptionResolver.java : 199] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported]
2020-04-22 10:47:48,056 [WARN] [http-nio-19010-exec-4] o.s.web.servlet.mvc.support.DefaultHandlerExceptionResolver [AbstractHandlerExceptionResolver.java : 199] Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required request body is missing: public com.jz.sms.dto.XfaceDmHubTemplateResponseDTO com.jz.sms.wrapper.maintenance.XfaceCreateTempLateWrapper.processRequest(com.jz.sms.dto.XfaceDmHubTemplateRequestDTO)]
2020-04-22 10:50:01,419 [INFO] [http-nio-19010-exec-6] com.jz.sms.api.BizController [BizController.java : 31] **********创建模板入参*******:{appId=qeifuieouioue, timestamp=2020102000000, signature=achldjkflajdoiocojioji}
...@@ -21,3 +21,5 @@ logging: ...@@ -21,3 +21,5 @@ logging:
level: debug level: debug
level.com.jz: debug # 单独指定包下的日志级别 level.com.jz: debug # 单独指定包下的日志级别
config: classpath:logback-spring.xml config: classpath:logback-spring.xml
file:
path: logs
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<include resource="org/springframework/boot/logging/logback/console-appender.xml" /> <include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>${LOG_PATH}${LOG_FILE}</File> <File>${LOG_PATH}</File>
<encoder> <encoder>
<pattern>%date [%level] [%thread] %logger{60} [%file : %line] %msg%n</pattern> <pattern>%date [%level] [%thread] %logger{60} [%file : %line] %msg%n</pattern>
</encoder> </encoder>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment