1

这是日志代码,但我不知道它是否重新启动,我应该怎么知道?这是什么语言?

日志文件

Wed Oct 10 11:41:38 -0400 2012: REQUEST DATA: "\r\n\r\n"
---
PARAMS: {}
---
** INT signal received.
** Starting Mongrel listening at 0.0.0.0:3001
** Starting Rails with production environment...
** Mounting Rails at /redmine...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Loading C:\\BitNami/apps/redmine\\scripts\\mongrel_rails_envvars external config script
** Signals ready.  INT => stop (no restart).
** Mongrel 1.1.5 available at 0.0.0.0:3001
** Use CTRL-C to stop.
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName
** INT signal received.
** Starting Mongrel listening at 0.0.0.0:3001
** Starting Rails with production environment...
** Mounting Rails at /redmine...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Loading C:\\BitNami/apps/redmine\\scripts\\mongrel_rails_envvars external config script
** Signals ready.  INT => stop (no restart).
** Mongrel 1.1.5 available at 0.0.0.0:3001
** Use CTRL-C to stop.
Mon Oct 15 11:05:14 -0400 2012: Read error: #<Errno::ECONNABORTED: An established connection was aborted by the software in your host machine.>
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:137:in `write'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:137:in `write'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:103:in `send_body'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:147:in `finished'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:165:in `process_client'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `initialize'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `new'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `initialize'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `new'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:282:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in `each'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:212:in `run'
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
C:/BitNami/ruby/bin/mongrel_rails:19:in `load'
C:/BitNami/ruby/bin/mongrel_rails:19
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang
C:/BitNami/ruby/lib/ruby/gems/1.8/gems/coderay-1.0.6/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName
Mon Oct 15 15:05:02 -0400 2012:
4

1 回答 1

1

它不是一种语言,它只是 Mongrel 应用程序的日志/控制台输出,包括一些错误堆栈信息,这些信息与您在 Ruby 其他任何地方都可以找到。

可以在这里找到辨别 Mongrel 是否正在启动的赠品:** Starting Mongrel listening at 0.0.0.0:3001- 这表明 Mongrel 的一个实例正在开始侦听端口 3001。据我所知,两个实例不能同时使用同一个端口,所以上面的日志中,该启动行出现了两次,表示重新启动。

于 2012-10-16T13:25:44.427 回答