Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_tail: Add a missing parser_multiline require #1212

Merged
merged 1 commit into from
Sep 7, 2016

Conversation

cosmo0920
Copy link
Contributor

Otherwise, it causes Fluent::Plugin::MultilineParser error as follows:

% bundle exec fluentd -c example/in_tail.conf -p lib/fluent/plugin
2016-09-07 15:38:04 +0900 [info]: reading config file path="example/in_tail.conf"
2016-09-07 15:38:04 +0900 [info]: starting fluentd-0.14.5
2016-09-07 15:38:04 +0900 [info]: spawn command to main: /home/hhatake/.rbenv/versions/2.3.0/bin/ruby -Eascii-8bit:ascii-8bit  -rbundler/setup /home/hhatake/Github/fluentd/vendor/bundle/ruby/2.3.0/bin/fluentd -c example/in_tail.conf -p lib/fluent/plugin --under-supervisor
2016-09-07 15:38:05 +0900 [info]: reading config file path="example/in_tail.conf"
2016-09-07 15:38:05 +0900 [info]: starting fluentd-0.14.5 without supervision
2016-09-07 15:38:05 +0900 [info]: gem 'fluentd' version '0.14.5'
2016-09-07 15:38:05 +0900 [info]: adding match pattern="test" type="stdout"
2016-09-07 15:38:05 +0900 [info]: adding source type="tail"
2016-09-07 15:38:05 +0900 [error]: unexpected error error="uninitialized constant Fluent::Plugin::MultilineParser"
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/plugin/in_tail.rb:88:in `configure'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/root_agent.rb:237:in `add_source'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/root_agent.rb:95:in `block in configure'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/root_agent.rb:92:in `each'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/root_agent.rb:92:in `configure'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/engine.rb:119:in `configure'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/engine.rb:93:in `run_configure'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/supervisor.rb:673:in `run_configure'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/supervisor.rb:435:in `block in run_worker'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/supervisor.rb:606:in `main_process'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/supervisor.rb:431:in `run_worker'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/lib/fluent/command/fluentd.rb:271:in `<top (required)>'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/bin/fluentd:5:in `require'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/bin/fluentd:5:in `<top (required)>'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/vendor/bundle/ruby/2.3.0/bin/fluentd:23:in `load'
  2016-09-07 15:38:05 +0900 [error]: /home/hhatake/Github/fluentd/vendor/bundle/ruby/2.3.0/bin/fluentd:23:in `<main>'

Otherwise, it causes uninitialized constant
`Fluent::Plugin::MultilineParser` error.
@repeatedly repeatedly merged commit c3c838f into fluent:master Sep 7, 2016
@repeatedly
Copy link
Member

Thanks!

repeatedly added a commit that referenced this pull request Sep 7, 2016
in_tail: Add a missing parser_multiline require
@cosmo0920 cosmo0920 deleted the add-missing-require-in_tail branch September 7, 2016 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants