WeiYe-Jing / datax-web

DataX集成可视化页面,选择数据源即可一键生成数据同步任务,支持RDBMS、Hive、HBase、ClickHouse、MongoDB等数据源,批量创建RDBMS数据同步任务,集成开源调度系统,支持分布式、增量同步数据、实时查看运行日志、监控执行器资源、KILL运行进程、数据源信息加密等。
https://segmentfault.com/u/weiye_jing/articles
MIT License
5.64k stars 2.17k forks source link

logback.xml 配置错误 , #444

Open jiayb opened 3 years ago

jiayb commented 3 years ago

Caused by: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.rolling.RollingFileAppender[file] - Failed to create parent directories for [/data/datax-web-2.1.2/packages/datax-executor/bin/..//./data/applogs/executor/jobhandler/datax-executor.log] ERROR in ch.qos.logback.core.rolling.RollingFileAppender[file] - openFile(./data/applogs/executor/jobhandler/datax-executor.log,true) call failed. java.io.FileNotFoundException: ./data/applogs/executor/jobhandler/datax-executor.log (没有那个文件或目录) at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:67) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:117) at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:297) ... 14 more 解决办法:<property name="LOG_PATH" value="${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/data/applogs/executor/jobhandler}}}" /> 修改成<property name="LOG_PATH" value="${log_path:-${LOG_TEMP:-${java.io.tmpdir:-/data/applogs/executor/jobhandler}}}" />

jiayb commented 3 years ago

datax-web 2.1.2 版本

xiaolongnayun commented 3 years ago

请问这个错误怎么解决啊

hqm1988 commented 3 years ago

请问这个错误怎么解决啊

bugmaker1220 commented 3 years ago

请问能说一下解决办法吗

LaoRay-Hub commented 3 years ago

同求解决办法