开启elk后控制台日志报错

Blade 未结 4 1157
81809956
81809956 2022-09-02 15:00

一、该问题的重现步骤是什么?

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


4条回答
提交回复