Could NOT find resource [logback-test.xml]

博客提及修改后可正常启动,虽未明确修改内容,但结合标签推测与logback和xml相关,在信息技术领域可能涉及配置文件修改等操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

修改

之后就可以正常启动了

03:11:20,249 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 03:11:20,249 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 03:11:20,249 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/kafka-manager-1.3.1.8/conf/logback.xml] 03:11:20,336 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 03:11:20,337 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word coloredLevel with class [play.api.Logger$ColoredLevel] 03:11:20,337 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] 03:11:20,342 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] 03:11:20,358 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 03:11:20,380 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@18:27 - no applicable action for [totalSizeCap], current ElementPath is [[configuration][appender][rollingPolicy][totalSizeCap]] 03:11:20,383 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used 03:11:20,384 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern application.home_IS_UNDEFINED/logs/application.%d{yyyy-MM-dd}.log for the active file 03:11:20,387 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'application.home_IS_UNDEFINED/logs/application.%d{yyyy-MM-dd}.log'. 03:11:20,387 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight. 03:11:20,389 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial peri
03-25
[iot@k-cldekongfly01 json]$ java -server -Xms2g -Xmx2g -Xmn1500m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/tools/datax/log -Xms2g -Xmx2g -Xmn1500m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/tools/datax/log -Dloglevel=info -Dfile.encoding=UTF-8 -Dlogback.statusListenerClass=ch.qos.logback.core.status.NopStatusListener -Djava.security.egd=file:///dev/urandom -Ddatax.home=/data/tools/datax -Dlogback.configurationFile=/data/tools/datax/conf/logback.xml -classpath /data/tools/datax/lib/*:. -Dlog.file.name=aaaaaaaaaaa_conf -Dlogback.debug=true com.alibaba.datax.core.Engine -mode standalone -jobid -1 -job ./kafkaUpdateSend.json 17:05:12,648 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [/data/tools/datax/conf/logback.xml] at [file:/data/tools/datax/conf/logback.xml] 17:05:12,894 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Using current interpretation time, i.e. now, as time reference. 17:05:12,894 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Adding property to the context with key="ymd" and value="2025-06-04" to the LOCAL scope 17:05:12,894 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Using current interpretation time, i.e. now, as time reference. 17:05:12,895 |-INFO in ch.qos.logback.core.joran.action.TimestampAction - Adding property to the context with key="byMillionSecond" and value="17_05_12.894" to the LOCAL scope 17:05:12,895 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 17:05:12,900 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 17:05:12,935 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@10:19 - no applicable action for [Encoding], current ElementPath is [[configuration][appender][Encoding]] 17:05:12,978 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender] 17:05:12,980 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ASYNC_FILE] 17:05:12,989 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [FILE]. Did you define it below instead of above in the configuration file? 17:05:12,989 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. 17:05:12,989 |-ERROR in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - No attached appenders found. 17:05:12,989 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender] 17:05:12,991 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] 17:05:12,994 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 17:05:12,995 |-ERROR in ch.qos.logback.classic.PatternLayout("null") - Empty or null pattern. 17:05:12,997 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [/data/tools/datax/log//2025-06-04/aaaaaaaaaaa_conf.log] 17:05:12,998 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender] 17:05:12,999 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [PERF] 17:05:12,999 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 17:05:12,999 |-ERROR in ch.qos.logback.classic.PatternLayout("null") - Empty or null pattern. 17:05:13,001 |-INFO in ch.qos.logback.core.FileAppender[PERF] - File property is set to [/data/tools/datax/log_perf//2025-06-04/aaaaaaaaaaa_conf-17_05_12.894.log] 17:05:13,001 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender] 17:05:13,001 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ASYNC_PERF] 17:05:13,002 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [PERF] to ch.qos.logback.classic.AsyncAppender[ASYNC_PERF] 17:05:13,003 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_PERF] - Attaching appender named [PERF] to AsyncAppender. 17:05:13,004 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNC_PERF] - Setting discardingThreshold to 0 17:05:13,005 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.alibaba.datax.common.statistics.PerfRecord] to INFO 17:05:13,005 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.alibaba.datax.common.statistics.PerfRecord] to false 17:05:13,006 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ASYNC_PERF] to Logger[com.alibaba.datax.common.statistics.PerfRecord] 17:05:13,006 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO 17:05:13,006 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 17:05:13,006 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ASYNC_FILE] to Logger[ROOT] 17:05:13,007 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration. 17:05:13,010 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@22a71081 - Registering current configuration as safe fallback point 2025-06-04 17:05:13.256 [main] INFO VMInfo - VMInfo# operatingSystem class => sun.management.OperatingSystemImpl 17:05:13,260 |-WARN in ch.qos.logback.classic.AsyncAppender[ASYNC_FILE] - Attempted to append to non started appender [ASYNC_FILE]. 2025-06-04 17:05:13.266 [main] INFO Engine - the machine info =>
最新发布
06-05
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值