Skip to content

Non platform agnostic socket code #4

@dbousamra

Description

@dbousamra
2017-01-27 13:06:16 +1100 [info]: shutting down output type="logmatic" plugin_id="object:3fe249d244b4"                                                                                                                                                   │localhost:8888/logmatic.domsdf
2017-01-27 13:06:16 +1100 [warn]: before_shutdown failed error="uninitialized constant Socket::SOL_TCP"                                                                                                                                                  │~/C/S/II ❯❯❯ curl -X POST -d 'j
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-logmatic-0.8.3/lib/fluent/plugin/out_logmatic.rb:58:in `client'                                                                                        │son={"json":"message"}' http://
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-logmatic-0.8.3/lib/fluent/plugin/out_logmatic.rb:106:in `block in send_to_logmatic'                                                                    │localhost:8888/logmatic.domsdf
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-logmatic-0.8.3/lib/fluent/plugin/out_logmatic.rb:105:in `each'                                                                                         │~/C/S/II ❯❯❯ curl -X POST -d 'j
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-logmatic-0.8.3/lib/fluent/plugin/out_logmatic.rb:105:in `send_to_logmatic'                                                                             │son={"json":"message"}' http://
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-logmatic-0.8.3/lib/fluent/plugin/out_logmatic.rb:88:in `write'                                                                                         │localhost:8888/logmatic.domsdf
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/buffer.rb:345:in `write_chunk'                                                                                                            │~/C/S/II ❯❯❯ curl -X POST -d 'j
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/buffer.rb:324:in `pop'                                                                                                                    │son={"json":"message"}' http://
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/plugin/buf_memory.rb:94:in `block in before_shutdown'                                                                                     │localhost:8888/logmatic.domsdf
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'                                                                                                                                            │~/C/S/II ❯❯❯ curl -X POST -d 'j
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/plugin/buf_memory.rb:90:in `before_shutdown'                                                                                              │son={"json":"message"}' http://
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/output.rb:396:in `before_shutdown'                                                                                                        │localhost:8888/logmatic.domsdf
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/output.rb:160:in `block in run'                                                                                                           │~/C/S/II ❯❯❯ curl -X POST -d 'j
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/output.rb:159:in `synchronize'                                                                                                            │son={"json":"message"}' http://
  2017-01-27 13:06:16 +1100 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.19/lib/fluent/output.rb:159:in `run'

I receive this error when trying to use the plugin on OSX. The error: uninitialized constant Socket::SOL_TCP seems to relate to lwoggardner/zkruby#2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions