[Question] [log module] Why is the host of the log module 192.168.18.1 and the port 1234, and where can I modify this configuration item.
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
I want to output the log of the workflow instance to my mysql database through the interface, so I use the f12 of the page to see where the log data comes from. Through the code, I see that NettyRemotingClient is used, but I don't know logClient Where do the host and port of .rollViewLog(host, port, skipLineNum, limit) come from and can they be modified?

Use case
I would like to know where the logs of the workflow instance are stored and how should I synchronize the logs to our mysql database
Related issues
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
- If you haven't received a reply for a long time, you can join our slack and send your question to channel
#troubleshooting
@kiwi-field
maybe host from taskInstance, and taskINstance‘s host from masterConfig


This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
你修改了logback日志配置
不要让我写英文,初中英语水平,不会
org.apache.dolphinscheduler.server.log.LoggerRequestProcessor#checkPathSecurity
private boolean checkPathSecurity(String path) { String dsHome = System.getProperty("DOLPHINSCHEDULER_WORKER_HOME"); if (StringUtils.isBlank(dsHome)) { dsHome = System.getProperty("user.dir"); } if (StringUtils.isBlank(path)) { logger.warn("path is null"); return false; } else { return path.startsWith(dsHome) && !path.contains("../") && path.endsWith(".log"); } }
不知道谁代码写死,path.startsWith(dsHome)
所以你 logback-spring.xml 配置文件里 log.base value写成绝对路径,还不是home目录下,就会报java.lang.IllegalArgumentException: Illegal path
反手就删掉这个 path.startsWith(dsHome) ,不知道有没有后果 ,部署目录固态盘空间不够,每天spark那么多日志,还不让我改数据盘,必须把dolphins部署在数据盘?
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.