diff --git a/logs/app.log b/logs/app.log new file mode 100644 index 0000000..1180d57 --- /dev/null +++ b/logs/app.log @@ -0,0 +1,34 @@ +2026-01-19 14:28:04.634 [main] INFO com.example.sso.SsoApplication - Starting SsoApplication on 夜愿 with PID 173808 (D:\taxi\TaxiGit\aikefu\target\classes started by 李嘉卓 in D:\taxi\TaxiGit\aikefu) +2026-01-19 14:28:04.636 [main] INFO com.example.sso.SsoApplication - No active profile set, falling back to default profiles: default +2026-01-19 14:28:05.074 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8092 (http) +2026-01-19 14:28:05.078 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8092"] +2026-01-19 14:28:05.078 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +2026-01-19 14:28:05.078 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.27] +2026-01-19 14:28:05.137 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext +2026-01-19 14:28:05.137 [main] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 447 ms +2026-01-19 14:28:05.215 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor' +2026-01-19 14:28:05.275 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler' +2026-01-19 14:28:05.287 [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8092"] +2026-01-19 14:28:05.293 [main] INFO o.a.coyote.http11.Http11NioProtocol - Pausing ProtocolHandler ["http-nio-8092"] +2026-01-19 14:28:05.293 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat] +2026-01-19 14:28:05.295 [main] INFO o.a.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8092"] +2026-01-19 14:28:05.296 [main] INFO o.a.coyote.http11.Http11NioProtocol - Destroying ProtocolHandler ["http-nio-8092"] +2026-01-19 14:28:05.297 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2026-01-19 14:28:05.299 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Web server failed to start. Port 8092 was already in use. + +Action: + +Identify and stop the process that's listening on port 8092 or configure this application to listen on another port. + +2026-01-19 14:28:05.301 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler' +2026-01-19 14:28:05.301 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor' diff --git a/pom.xml b/pom.xml index c0028dd..5e3ce5b 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,11 @@ poi-ooxml 5.0.0 + + org.projectlombok + lombok + true + diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..c57a06f --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,39 @@ + + + + + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + ${LOG_PATH}/${LOG_FILE}.log + + + + + ${LOG_PATH}/${LOG_FILE}.%d{yyyy-MM-dd}.log + + ${MAX_HISTORY} + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + true + + + + + + + \ No newline at end of file