{"id":1935,"date":"2015-07-05T01:00:17","date_gmt":"2015-07-04T16:00:17","guid":{"rendered":"http:\/\/tech.akat.info\/?p=1935"},"modified":"2015-07-05T01:00:17","modified_gmt":"2015-07-04T16:00:17","slug":"dummer","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=1935","title":{"rendered":"dummer"},"content":{"rendered":"<h1>dummer\u3068\u306f<\/h1>\n<p>\u30c0\u30df\u30fc\u306e\u30ed\u30b0\u3092\u5410\u304d\u51fa\u3057\u307e\u304f\u308b\u30c4\u30fc\u30eb<\/p>\n<h1>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>\u8db3\u308a\u306a\u3044\u3082\u306e\u304c\u305f\u304f\u3055\u3093\u3042\u3063\u305f\u305f\u3081\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304c\u3089\u9032\u3081\u305f<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# gem install dummer\r\nFetching: thor-0.19.1.gem (100%)\r\nSuccessfully installed thor-0.19.1\r\nFetching: sigdump-0.2.3.gem (100%)\r\nSuccessfully installed sigdump-0.2.3\r\nFetching: serverengine-1.5.10.gem (100%)\r\nSuccessfully installed serverengine-1.5.10\r\nFetching: msgpack-0.6.0pre1.gem (100%)\r\nBuilding native extensions.  This could take a while...\r\nSuccessfully installed msgpack-0.6.0pre1\r\nFetching: fluent-logger-0.5.0.gem (100%)\r\nSuccessfully installed fluent-logger-0.5.0\r\nFetching: dummer-0.3.5.gem (100%)\r\nSuccessfully installed dummer-0.3.5\r\nParsing documentation for dummer-0.3.5\r\nInstalling ri documentation for dummer-0.3.5\r\nParsing documentation for fluent-logger-0.5.0\r\nInstalling ri documentation for fluent-logger-0.5.0\r\nParsing documentation for msgpack-0.6.0pre1\r\nInstalling ri documentation for msgpack-0.6.0pre1\r\nParsing documentation for serverengine-1.5.10\r\nInstalling ri documentation for serverengine-1.5.10\r\nParsing documentation for sigdump-0.2.3\r\nInstalling ri documentation for sigdump-0.2.3\r\nParsing documentation for thor-0.19.1\r\nInstalling ri documentation for thor-0.19.1\r\nDone installing documentation for dummer, fluent-logger, msgpack, serverengine, sigdump, thor after 4 seconds\r\n6 gems installed\r\n\r\nroot@hostname:\/home\/shimizu# gem list | grep dummer\r\ndummer (0.3.5)\r\n\r\n\r\nroot@hostname:\/home\/shimizu# dummer -c \/etc\/dummer.conf\r\nfatal: Not a git repository (or any of the parent directories): .git\r\nCould not find gem 'rspec (&gt;= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.\r\nRun `bundle install` to install missing gems.\r\n\r\nroot@hostname:\/home\/shimizu# gem install rspec\r\nFetching: rspec-support-3.3.0.gem (100%)\r\nSuccessfully installed rspec-support-3.3.0\r\nFetching: rspec-core-3.3.1.gem (100%)\r\nSuccessfully installed rspec-core-3.3.1\r\nFetching: diff-lcs-1.2.5.gem (100%)\r\nSuccessfully installed diff-lcs-1.2.5\r\nFetching: rspec-expectations-3.3.0.gem (100%)\r\nSuccessfully installed rspec-expectations-3.3.0\r\nFetching: rspec-mocks-3.3.1.gem (100%)\r\nSuccessfully installed rspec-mocks-3.3.1\r\nFetching: rspec-3.3.0.gem (100%)\r\nSuccessfully installed rspec-3.3.0\r\nParsing documentation for diff-lcs-1.2.5\r\nInstalling ri documentation for diff-lcs-1.2.5\r\nParsing documentation for rspec-3.3.0\r\nInstalling ri documentation for rspec-3.3.0\r\nParsing documentation for rspec-core-3.3.1\r\nInstalling ri documentation for rspec-core-3.3.1\r\nParsing documentation for rspec-expectations-3.3.0\r\nInstalling ri documentation for rspec-expectations-3.3.0\r\nParsing documentation for rspec-mocks-3.3.1\r\nInstalling ri documentation for rspec-mocks-3.3.1\r\nParsing documentation for rspec-support-3.3.0\r\nInstalling ri documentation for rspec-support-3.3.0\r\nDone installing documentation for diff-lcs, rspec, rspec-core, rspec-expectations, rspec-mocks, rspec-support after 10 seconds\r\n6 gems installed\r\n\r\nroot@hostname:\/home\/shimizu# gem install pry\r\nFetching: coderay-1.1.0.gem (100%)\r\nSuccessfully installed coderay-1.1.0\r\nFetching: slop-3.6.0.gem (100%)\r\nSuccessfully installed slop-3.6.0\r\nFetching: method_source-0.8.2.gem (100%)\r\nSuccessfully installed method_source-0.8.2\r\nFetching: pry-0.10.1.gem (100%)\r\nSuccessfully installed pry-0.10.1\r\ninvalid options: -SNw2\r\n(invalid options are ignored)\r\nParsing documentation for coderay-1.1.0\r\nInstalling ri documentation for coderay-1.1.0\r\nParsing documentation for method_source-0.8.2\r\nInstalling ri documentation for method_source-0.8.2\r\nParsing documentation for pry-0.10.1\r\nInstalling ri documentation for pry-0.10.1\r\nParsing documentation for slop-3.6.0\r\nInstalling ri documentation for slop-3.6.0\r\nDone installing documentation for coderay, method_source, pry, slop after 8 seconds\r\n4 gems installed\r\n\r\nroot@hostname:\/home\/shimizu# gem install pry-nav\r\nFetching: pry-nav-0.2.4.gem (100%)\r\nSuccessfully installed pry-nav-0.2.4\r\nParsing documentation for pry-nav-0.2.4\r\nInstalling ri documentation for pry-nav-0.2.4\r\nDone installing documentation for pry-nav after 0 seconds\r\n1 gem installed\r\n\r\nroot@hostname:\/home\/shimizu# dummer -c \/etc\/dummer.conf\r\nfatal: Not a git repository (or any of the parent directories): .git\r\nBundler could not find compatible versions for gem &quot;msgpack&quot;:\r\n  In Gemfile:\r\n    dummer (&gt;= 0) ruby depends on\r\n      fluent-logger (&gt;= 0) ruby depends on\r\n        msgpack (!= 0.5.0, != 0.5.1, != 0.5.2, != 0.5.3, &lt; 0.6.0, &gt;= 0.4.4) ruby\r\nCould not find gem 'msgpack (!= 0.5.0, != 0.5.1, != 0.5.2, != 0.5.3, &lt; 0.6.0, &gt;= 0.4.4) ruby', which is required by gem 'fluent-logger (&gt;= 0) ruby', in any of the sources.\r\n\r\nroot@hostname:\/home\/shimizu# aptitude install libmsgpack-dev ruby-msgpack\r\n\u4ee5\u4e0b\u306e\u65b0\u898f\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059:\r\n  libmsgpack-dev libmsgpack3{a} libmsgpackc2{a} ruby-msgpack\r\n...\r\n\r\nroot@hostname:\/home\/shimizu# dummer -c \/etc\/dummer.conf\r\nWARN: Unresolved specs during Gem::Specification.reset:\r\n      msgpack (!= 0.5.0, != 0.5.1, != 0.5.2, != 0.5.3, &lt; 0.6.0, &gt;= 0.4.4)\r\nWARN: Clearing out unresolved specs.\r\nPlease report a bug if this causes problems.\r\nfatal: Not a git repository (or any of the parent directories): .git\r\n^CI, &#x5B;2015-07-03T09:33:46.333229 #14569]  INFO -- : Received graceful stop\r\nI, &#x5B;2015-07-03T09:33:46.370894 #14569]  INFO -- : Worker 0 finished with status 0\r\n\r\nroot@hostname:\/home\/shimizu# cat dummy.log\r\nid:3684 time:&#x5B;2015-07-03 09:32:51]      level:WARN      method:PUT      uri:\/api\/v1\/people      reqtime:0.8766459623053487      foobar:HGzDxxSA\r\nid:3685 time:&#x5B;2015-07-03 09:32:51]      level:ERROR     method:POST     uri:\/api\/v1\/textdata    reqtime:0.2770539070927347      foobar:JUnRov8K\r\nid:3686 time:&#x5B;2015-07-03 09:32:51]      level:ERROR     method:POST     uri:\/api\/v1\/textdata    reqtime:4.14037143766365        foobar:cdeLHDUR\r\nid:3687 time:&#x5B;2015-07-03 09:32:51]      level:DEBUG     method:PUT      uri:\/api\/v1\/people      reqtime:2.3861638315937443      foobar:t4xxCchD\r\nid:3688 time:&#x5B;2015-07-03 09:32:51]      level:DEBUG     method:GET      uri:\/api\/v1\/people      reqtime:0.582188716135604       foobar:kuTtipP8\r\nid:3689 time:&#x5B;2015-07-03 09:32:51]      level:WARN      method:GET      uri:\/api\/v1\/textdata    reqtime:2.1473312915598544      foobar:txgugKVc\r\nid:3690 time:&#x5B;2015-07-03 09:32:51]      level:WARN      method:GET      uri:\/api\/v1\/textdata    reqtime:4.466769984518664       foobar:z6eUw2XI\r\n<\/pre>\n<h1>\u53c2\u8003URL<\/h1>\n<p>Fluentd \u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30c6\u30b9\u30c8\u306b\u4f7f\u3048\u308b dummer (\u65e7\u79f0 dummy_log_generator)<br \/>\nhttp:\/\/qiita.com\/sonots\/items\/750da77a18e62852a02f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dummer\u3068\u306f \u30c0\u30df\u30fc\u306e\u30ed\u30b0\u3092\u5410\u304d\u51fa\u3057\u307e\u304f\u308b\u30c4\u30fc\u30eb \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u8db3\u308a\u306a\u3044\u3082\u306e\u304c\u305f\u304f\u3055\u3093\u3042\u3063\u305f\u305f\u3081\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304c\u3089\u9032\u3081\u305f root@hostname:\/home\/shimizu# gem install dumm [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[29],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1935"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1935"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1935\/revisions"}],"predecessor-version":[{"id":1936,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1935\/revisions\/1936"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}