本文介绍了工头只显示以“以pid#开头"的行,而没有其他内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我执行领班时,我得到以下信息:
When I run foreman I get the following:
> foreman start
16:47:56 web.1 | started with pid 27122
只有我停止(通过ctrl-c),它才能告诉我缺少的内容:
Only if I stop it (via ctrl-c) it shows me what is missing:
^CSIGINT received
16:49:26 system | sending SIGTERM to all processes
16:49:26 web.1 | => Booting Thin
16:49:26 web.1 | => Rails 3.0.0 application starting in development on http://0.0.0.0:5000
16:49:26 web.1 | => Call with -d to detach
16:49:26 web.1 | => Ctrl-C to shutdown server
16:49:26 web.1 | >> Thin web server (v1.3.1 codename Triple Espresso)
16:49:26 web.1 | >> Maximum connections set to 1024
16:49:26 web.1 | >> Listening on 0.0.0.0:5000, CTRL+C to stop
16:49:26 web.1 | >> Stopping ...
16:49:26 web.1 | Exiting
16:49:26 web.1 | >> Stopping ...
我该如何解决?
推荐答案
我已经可以通过2种不同的方式解决此问题:
I’ve been able to resolve this issue by 2 different ways:
# ruby
$stdout.sync = true
通过 heroku工具带包
但是我仍然不知道发生了什么,也不知道为什么以上两种方式可以解决问题……
But I still don’t know what’s happening nor why this 2 ways above resolved the issue…
这篇关于工头只显示以“以pid#开头"的行,而没有其他内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!