一、该问题的重现步骤是什么?
1. blade-common开启elk
2. 启动blade-desk项目
3.
二、你期待的结果是什么?实际看到的又是什么?
1、期待结果:控制台无报错信息;
2、实际看到:开启elk后控制台日志报错;
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
bladex3.0,windows
四、请提供详细的错误堆栈信息,这很重要。
----启动中,读取到的环境变量:[dev],jar地址:[/G:/gitproj/dap/dap-basic/blade-service/blade-desk/target/classes/]----
22:26:16,041 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - 'File' option has the same value "C:\Users\ASUS\logs/nacos/config.log" as that given for appender [CONFIG_LOG_FILE] defined earlier.
22:26:16,041 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
22:26:16,041 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
.................................................................................
五、若有更多详细信息,请在下面提供。
在linux环境下也是报错,这是另外一个项目报错信息,错误和上面第四条一样
----启动中,读取到的环境变量:[dev],jar地址:[/Volumes/Data/workspace/digital-application-platform-dev/dap-bizs/dap-service/dap-oa/target/classes/]----
18:14:23,217 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - 'File' option has the same value "/Users/liupp-mac/logs/nacos/config.log" as that given for appender [CONFIG_LOG_FILE] defined earlier.
18:14:23,218 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
18:14:23,218 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
18:14:23,220 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[NAMING_LOG_FILE] - 'File' option has the same value "/Users/liupp-mac/logs/nacos/naming.log" as that given for appender [NAMING_LOG_FILE] defined earlier.
18:14:23,220 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[NAMING_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
18:14:23,220 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[NAMING_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
18:14:23,222 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[REMOTE_LOG_FILE] - 'File' option has the same value "/Users/liupp-mac/logs/nacos/remote.log" as that given for appender [REMOTE_LOG_FILE] defined earlier.
18:14:23,222 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[REMOTE_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
18:14:23,222 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[REMOTE_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
2022-08-24 18:14:23.274 INFO 56820 --- [kground-preinit] o.h.validator.internal.util.Version : HV000001: Hibernate Validator 6.2.3.Final
18:14:23,715 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - 'File' option has the same value "/Users/liupp-mac/logs/nacos/config.log" as that given for appender [CONFIG_LOG_FILE] defined earlier.
18:14:23,715 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
18:14:23,715 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CONFIG_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
18:14:23,716 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[NAMING_LOG_FILE] - 'File' option has the same value "/Users/liupp-mac/logs/nacos/naming.log" as that given for appender [NAMING_LOG_FILE] defined earlier.
18:14:23,716 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[NAMING_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
18:14:23,716 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[NAMING_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
18:14:23,717 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[REMOTE_LOG_FILE] - 'File' option has the same value "/Users/liupp-mac/logs/nacos/remote.log" as that given for appender [REMOTE_LOG_FILE] defined earlier.
18:14:23,717 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[REMOTE_LOG_FILE] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
18:14:23,717 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[REMOTE_LOG_FILE] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
配置个属性
System.setProperty("nacos.logging.default.config.enabled", "false");
讨论(0)
-
好的,问题已记录,后续排查一下,应该是之前的logback配置文件和最新版的有冲突,你们可以先逐个逐个配置删除,然后找对应出问题的地方
讨论(1)
-
楼主解决问题了吗?
讨论(0)
-
没有解决,等待官方
讨论(0)
- 热议问题
-
多数据源报错
3
-
Bladex3.4 多数据源的配置问题,应用启动不了
1
-
大屏导出单独部署无法展示图片
1
-
BladeX 工作流开发平台插件版工作流配置审批人问题
1
-
我有两个nacos环境,测试环境接口放行可以,正式环境不行
2
-
blade-emqx服务中配置的这两个ip是微服务还是emqx中间件所在的ip
1
-
前端无法连通后端
2
-
vue自定义组件表格自动滚动问题
2
-
BladeX对应的在uni-app + vue3小程序中使用BladeX中的sm-crypto sm加密,报错无法使用
1
-
请问流程设计中有多个节点是 自定义流程表达式,只有第一个节点赋值成功,第二个是空的,如下图
1
扫一扫访问 Blade技术社区 移动端