一、该问题的重现步骤是什么?
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)
官方新品
- 热议问题
-
日志租户数据分库隔离
1
-
dicUrl不知道怎么使用crypto进行加密
1
-
需要改返回值对象的请求头 给CDN做缓存
1
-
Clock moved backwards. Refusing to generate id for 170 milliseconds
1
-
在Bladex中开启乐观锁,启动gateway项目报错
1
-
saber3 4.5.0不支持一级菜单?
1
-
微服务版本,redis设置密码无法连接
2
-
2.8.0配置多数据源不生效
1
-
avue-data大屏设计器运行报错:签名认证失败
1
-
物联分支合并问题?
1
扫一扫访问 Blade技术社区 移动端