You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/31 10:36:01 UTC

[GitHub] [dolphinscheduler] kiwi-field opened a new issue, #11218: [Feature][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.

kiwi-field opened a new issue, #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) 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?
   ![image](https://user-images.githubusercontent.com/30741355/182022124-e17cf527-20c0-42d7-bd22-7a5b390741da.png)
   ![image](https://user-images.githubusercontent.com/30741355/182022142-c92dd11e-3f68-44bd-bafe-5762ed75b2d3.png)
   
   
   ### 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](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [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. [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1821898594

   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [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. [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #11218: [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.
URL: https://github.com/apache/dolphinscheduler/issues/11218


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11218: [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.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1233584298

   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [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. [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1832905752

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] lyn916 commented on issue #11218: [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.

Posted by GitBox <gi...@apache.org>.
lyn916 commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1271111008

   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] lyn916 commented on issue #11218: [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.

Posted by GitBox <gi...@apache.org>.
lyn916 commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1271094214

   ![1665116426060](https://user-images.githubusercontent.com/39552917/194467229-d12efc22-81ad-4fea-960c-2f19e5a901fd.jpg)
   修改了logback日志格式
   数据库里面
   ![image](https://user-images.githubusercontent.com/39552917/194467346-59c75f6b-609d-436a-8ac0-f59ddfc01ef2.png)
   t_ds_task_instance表 log_path字段少了个task路径,手动修改后可以预览
   还不清楚哪里的bug,不要让我写英文,初中英语水平,不会


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] fuchanghai commented on issue #11218: [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.

Posted by GitBox <gi...@apache.org>.
fuchanghai commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1200600588

   @kiwi-field 
   maybe host from taskInstance, and taskINstance‘s host from masterConfig
   <img width="767" alt="image" src="https://user-images.githubusercontent.com/33984497/182058789-495fbde1-d63f-4aad-9195-6daf0a1954cb.png">
   
   
   <img width="677" alt="image" src="https://user-images.githubusercontent.com/33984497/182058753-ebf03806-1568-4765-8fdf-6447f94501e5.png">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11218: [Feature][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.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11218:
URL: https://github.com/apache/dolphinscheduler/issues/11218#issuecomment-1200397332

   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](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org