-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynamicTp可能出现的INTERNAL_LOGGING无法打印的问题 #531
Comments
为什么单独引入dynamic-tp-spring-boot-starter-common然后排除spring-boot-starter-actuator |
因为我这只需要定时打印线程池的监控信息,不需要actuator。 |
如果正常使用是没问题,异常方面后续做一些处理 |
#534 修复此问题 |
首先感谢您使用 DynamicTp,如果使用过程中有任何问题,请按照下述模板反馈问题,请使用 Markdown 语法。
版本信息
问题描述
dtp在以下运行环境下,会出现监控日志无法打印且没有相关的错误日志输出的问题:
spring-boot-starter-actuator
INTERNAL_LOGGING
方式监控信息猜测可能原因:
在排除掉
spring-boot-starter-actuator
的同时,也会排除掉jackson-datatype-jsr310
,但JacksonParser
中创建mapper
的方法中使用到了jackson-datatype-jsr310
中的类导致mapper
的创建失败,引起 parser 创建失败导致。代码
pom.xml:
application.yml:
启动类:
建议
dynamic-tp-core
添加依赖jackson-datatype-jsr310
The text was updated successfully, but these errors were encountered: