You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/06/17 00:46:31 UTC

[GitHub] [rocketmq] startjava opened a new issue #2101: 请问rocketmq为什么要产生nohup.out和log文件呢?

startjava opened a new issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101


   只用log不可以吗??nohup.out为什么要创建?这两者有什么区别呢?


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] dominicqi commented on issue #2101: 请问rocketmq为什么要产生nohup.out和log文件呢?

Posted by GitBox <gi...@apache.org>.
dominicqi commented on issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101#issuecomment-645104087


   > 只用log不可以吗??nohup.out为什么要创建?这两者有什么区别呢?
   
   nohup.out is the nohup command default stdout output file. you can redirect to `/dev/null` . `nohup xxxx  >/dev/null`
   


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] RongtongJin closed issue #2101: Why does rocketmq generate nohup.out and log files?

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101


   


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] startjava commented on issue #2101: 请问rocketmq为什么要产生nohup.out和log文件呢?

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101#issuecomment-645083961


   如果搭建集群,所有的实例都向同一个nohup.out文件输出?内容是不是会出现混乱?感谢,如何避免呢?


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] imaffe commented on issue #2101: 请问rocketmq为什么要产生nohup.out和log文件呢?

Posted by GitBox <gi...@apache.org>.
imaffe commented on issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101#issuecomment-645095197


   IMHO, nohup.out stores low-value log outputs (stdout). Usually developers would use logs only for debugging purposes, but maybe in some extreme cases developers might want to use nohup.out to debug.
   
   > 如果搭建集群,所有的实例都向同一个nohup.out文件输出?内容是不是会出现混乱?感谢,如何避免呢?
   
   I'm not sure what would happen here, but I  would assume in cluster mode, each node would output to the nohup.out on each node instead of printing to one nohup.out. (Like nohup.out would be local to each node). But I'm not sure about this.
   
   
   
   Even if they output to one nohu[.out file (which is unlikely), because we rarely use it to debug, it is acceptable. On the other hand, because we are not sure if developers will use nohup.out or not, we decide to keep it just in case.


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] imaffe commented on issue #2101: 请问rocketmq为什么要产生nohup.out和log文件呢?

Posted by GitBox <gi...@apache.org>.
imaffe commented on issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101#issuecomment-645105011


   > > 只用log不可以吗??nohup.out为什么要创建?这两者有什么区别呢?
   > 
   > nohup.out is the nohup command default stdout output file. you can redirect to `/dev/null` . `nohup xxxx >/dev/null`
   
   Yeah, users can decide to mute the nohup output if they want, rocketmq choose to keep it by default and users can choose to keep it or not.


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] imaffe commented on issue #2101: Why does rocketmq generate nohup.out and log files?

Posted by GitBox <gi...@apache.org>.
imaffe commented on issue #2101:
URL: https://github.com/apache/rocketmq/issues/2101#issuecomment-645395433


   Will close this issue as this is not a bug recorder. We recommend use dev maillist for questions and use github issues only for bug recording purposes.


----------------------------------------------------------------
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.

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