贴日志给大神分析下
这个是启动的日志: Starting JFinal 5.0.1 -> http://0.0.0.0:7076 Info: jfinal-undertow 3.1, undertow 2.2.18.Final, jvm 1.8.0_201 [2022-08-10 21:51:22]-[DEBUG]-[main] io.undertow.server.handlers.resource.PathResourceManager.<clinit>(PathResourceManager.java:32): Logging Provider: org.jboss.logging.Log4jLoggerProvider [2022-08-10 21:51:25]-[INFO]-[main] org.xnio.Xnio.<clinit>(Xnio.java:104): XNIO version 3.3.8.Final [2022-08-10 21:51:26]-[INFO]-[main] org.xnio.nio.NioXnio.<clinit>(NioXnio.java:55): XNIO NIO Implementation Version 3.3.8.Final [2022-08-10 21:51:32]-[DEBUG]-[main] org.jboss.logging.DelegatingBasicLogger.debugf(DelegatingBasicLogger.java:384): Setting default session timeout to 1800 [2022-08-10 21:51:32]-[DEBUG]-[main] io.undertow.server.session.InMemorySessionManager.registerSessionListener(InMemorySessionManager.java:261): Registered session listener io.undertow.servlet.core.SessionListenerBridge@3b2da18f [2022-08-10 21:51:39]-[INFO]-[main] com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:998): {dataSource-1} inited [2022-08-10 21:51:41]-[INFO]-[main] io.undertow.Undertow.start(Undertow.java:120): starting server: Undertow - 2.2.18.Final [2022-08-10 21:51:41]-[DEBUG]-[XNIO-1 Accept] org.xnio.nio.WorkerThread.run(WorkerThread.java:433): Started channel thread 'XNIO-1 Accept', selector sun.nio.ch.WindowsSelectorImpl@3f3540d7 [2022-08-10 21:51:41]-[DEBUG]-[XNIO-1 I/O-1] org.xnio.nio.WorkerThread.run(WorkerThread.java:433): Started channel thread 'XNIO-1 I/O-1', selector sun.nio.ch.WindowsSelectorImpl@5a523313 [2022-08-10 21:51:41]-[DEBUG]-[XNIO-1 I/O-2] org.xnio.nio.WorkerThread.run(WorkerThread.java:433): Started channel thread 'XNIO-1 I/O-2', selector sun.nio.ch.WindowsSelectorImpl@711a0a16 [2022-08-10 21:51:41]-[DEBUG]-[main] io.undertow.Undertow.start(Undertow.java:160): Configuring listener with protocol HTTP for interface 0.0.0.0 and port 7076 Starting Complete in 21.5 seconds. Welcome To The JFinal World (^_^)
这个是运行过程中的日志: [2022-08-10 21:16:56]-[DEBUG]-[XNIO-1 I/O-2] io.undertow.util.PathMatcher.match(PathMatcher.java:106): Matched default handler path /static/libs/vue/vue.min.js [2022-08-10 21:16:56]-[DEBUG]-[XNIO-1 task-3] io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:86): Attempting to authenticate /static/libs/vue/vue.min.js, authentication required: false [2022-08-10 21:16:56]-[DEBUG]-[XNIO-1 task-3] io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:247): Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@71e72440 for /static/libs/vue/vue.min.js [2022-08-10 21:16:56]-[DEBUG]-[XNIO-1 task-3] io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:110): Authentication result was ATTEMPTED for /static/libs/vue/vue.min.js [2022-08-10 21:17:49]-[DEBUG]-[XNIO-1 I/O-1] io.undertow.server.protocol.ParseTimeoutUpdater.run(ParseTimeoutUpdater.java:151): Timing out idle connection from /0:0:0:0:0:0:0:1:57266 [2022-08-10 21:17:56]-[DEBUG]-[XNIO-1 I/O-2] io.undertow.server.protocol.ParseTimeoutUpdater.run(ParseTimeoutUpdater.java:151): Timing out idle connection from /0:0:0:0:0:0:0:1:57265 [2022-08-10 21:46:56]-[DEBUG]-[XNIO-1 task-1] io.undertow.server.session.InMemorySessionManager$SessionImpl.invalidate(InMemorySessionManager.java:616): Invalidating session khOg_x2xqXMOXWjw1QyfeQKQ3V5kr19e88W48Bp5 for exchange null
这些出现的BUG日志,重不重要的?我不想让这些BUG日志出现,如何设置?
项目:JFinal
将日志级别调整为 info、warn 都可以,配置一下日志级别