We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cannot successfully run the steps in Install from Source.
$ git clone https://github.com/fluent/fluentd.git $ cd fluentd $ bundle install $ bundle exec rake build $ gem install pkg/fluentd-1.16.2.gem $ fluentd --setup ./fluent $ fluentd -c ./fluent/fluent.conf -vv
Then the following error occurs repeatedly.
unexpected error error_class=ArgumentError error="unknown keyword: :logger"
Entire logs:
2023-09-30 09:37:44 +0900 [info]: init supervisor logger path=nil rotate_age=nil rotate_size=nil 2023-09-30 09:37:44 +0900 [info]: parsing config file is succeeded path="fluent.conf" 2023-09-30 09:37:44 +0900 [info]: gem 'fluentd' version '1.16.2' 2023-09-30 09:37:44 +0900 [info]: gem 'fluent-plugin-concat' version '2.5.0' 2023-09-30 09:37:44 +0900 [info]: gem 'fluent-plugin-forest' version '0.3.3' 2023-09-30 09:37:44 +0900 [info]: gem 'fluent-plugin-record-modifier' version '2.1.1' 2023-09-30 09:37:44 +0900 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '2.4.0' 2023-09-30 09:37:44 +0900 [info]: gem 'fluent-plugin-sigdump' version '1.0.1' 2023-09-30 09:37:44 +0900 [info]: gem 'fluentd' version '1.16.1' 2023-09-30 09:37:44 +0900 [info]: using configuration file: <ROOT> <source> @type forward @id forward_input </source> <source> @type http @id http_input port 8888 </source> <source> @type monitor_agent @id monitor_agent_input port 24220 </source> <source> @type debug_agent @id debug_agent_input bind "127.0.0.1" port 24230 </source> <match debug.**> @type stdout @id stdout_output </match> </ROOT> 2023-09-30 09:37:44 +0900 [info]: starting fluentd-1.16.2 pid=2409822 ruby="3.2.2" 2023-09-30 09:37:44 +0900 [info]: spawn command to main: cmdline=["/home/daipom/.rbenv/versions/3.2.2/bin/ruby", "-Eascii-8bit:ascii-8bit", "/home/daipom/.rbenv/versions/3.2.2/bin/fluentd", "-c", "fluent.conf", "--under-supervisor"] 2023-09-30 09:37:44 +0900 [info]: #0 init worker0 logger path=nil rotate_age=nil rotate_size=nil 2023-09-30 09:37:44 +0900 [info]: adding match pattern="debug.**" type="stdout" 2023-09-30 09:37:44 +0900 [info]: adding source type="forward" 2023-09-30 09:37:44 +0900 [info]: adding source type="http" 2023-09-30 09:37:44 +0900 [info]: adding source type="monitor_agent" 2023-09-30 09:37:44 +0900 [info]: adding source type="debug_agent" 2023-09-30 09:37:44 +0900 [info]: #0 starting fluentd worker pid=2409841 ppid=2409822 worker=0 2023-09-30 09:37:44 +0900 [info]: #0 [debug_agent_input] listening dRuby uri="druby://127.0.0.1:24230" object="Fluent::Engine" worker=0 2023-09-30 09:37:44 +0900 [error]: #0 unexpected error error_class=ArgumentError error="unknown keyword: :logger" 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/async-2.6.2/lib/async/scheduler.rb:32:in `initialize' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/async-2.6.2/lib/async/reactor.rb:19:in `initialize' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/plugin_helper/http_server/server.rb:42:in `new' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/plugin_helper/http_server/server.rb:42:in `initialize' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/plugin_helper/http_server.rb:69:in `new' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/plugin_helper/http_server.rb:69:in `http_server_create_http_server' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/plugin/in_monitor_agent.rb:213:in `start' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:203:in `block in start' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:192:in `block (2 levels) in lifecycle' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:191:in `each' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:191:in `block in lifecycle' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:178:in `each' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:178:in `lifecycle' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/root_agent.rb:202:in `start' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/engine.rb:248:in `start' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/engine.rb:147:in `run' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/supervisor.rb:617:in `block in run_worker' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/supervisor.rb:962:in `main_process' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/supervisor.rb:608:in `run_worker' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/work/ossgateworkshop/demo/fluentd/lib/fluent/command/fluentd.rb:372:in `<top (required)>' 2023-09-30 09:37:44 +0900 [error]: #0 <internal:/home/daipom/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require' 2023-09-30 09:37:44 +0900 [error]: #0 <internal:/home/daipom/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fluentd-1.16.2/bin/fluentd:15:in `<top (required)>' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/.rbenv/versions/3.2.2/bin/fluentd:25:in `load' 2023-09-30 09:37:44 +0900 [error]: #0 /home/daipom/.rbenv/versions/3.2.2/bin/fluentd:25:in `<main>'
If using bundle exec, this error does not occur.
bundle exec
$ bundle exec fluentd -c fluent.conf 2023-09-30 09:48:48 +0900 [info]: init supervisor logger path=nil rotate_age=nil rotate_size=nil 2023-09-30 09:48:48 +0900 [info]: parsing config file is succeeded path="fluent.conf" 2023-09-30 09:48:48 +0900 [info]: gem 'fluentd' version '1.16.2' 2023-09-30 09:48:48 +0900 [info]: adding forwarding server '192.168.0.12:24224' host="192.168.0.12" port=24224 weight=60 plugin_id="object:c58" 2023-09-30 09:48:48 +0900 [info]: [forward_output] adding forwarding server '192.168.0.11:24224' host="192.168.0.11" port=24224 weight=60 plugin_id="forward_output" 2023-09-30 09:48:48 +0900 [info]: using configuration file: <ROOT> <source> @type forward @id forward_input </source> <source> @type http @id http_input port 8888 </source> <source> @type monitor_agent @id monitor_agent_input port 24220 </source> <source> @type debug_agent @id debug_agent_input bind "127.0.0.1" port 24230 </source> <match debug.**> @type stdout @id stdout_output </match> <match system.**> @type forward @id forward_output <server> host "192.168.0.11" </server> <secondary> <server> host "192.168.0.12" </server> </secondary> </match> </ROOT> 2023-09-30 09:48:48 +0900 [info]: starting fluentd-1.16.2 pid=2411576 ruby="3.2.2" 2023-09-30 09:48:48 +0900 [info]: spawn command to main: cmdline=["/home/daipom/.rbenv/versions/3.2.2/bin/ruby", "-r/home/daipom/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/setup", "-Eascii-8bit:ascii-8bit", "/home/daipom/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bin/fluentd", "-c", "fluent.conf", "--under-supervisor"] 2023-09-30 09:48:49 +0900 [info]: #0 init worker0 logger path=nil rotate_age=nil rotate_size=nil 2023-09-30 09:48:49 +0900 [info]: adding match pattern="debug.**" type="stdout" 2023-09-30 09:48:49 +0900 [info]: adding match pattern="system.**" type="forward" 2023-09-30 09:48:49 +0900 [info]: #0 adding forwarding server '192.168.0.12:24224' host="192.168.0.12" port=24224 weight=60 plugin_id="object:bf4" 2023-09-30 09:48:49 +0900 [info]: #0 [forward_output] adding forwarding server '192.168.0.11:24224' host="192.168.0.11" port=24224 weight=60 plugin_id="forward_output" 2023-09-30 09:48:49 +0900 [info]: adding source type="forward" 2023-09-30 09:48:49 +0900 [info]: adding source type="http" 2023-09-30 09:48:49 +0900 [info]: adding source type="monitor_agent" 2023-09-30 09:48:49 +0900 [info]: adding source type="debug_agent" 2023-09-30 09:48:49 +0900 [info]: #0 starting fluentd worker pid=2411596 ppid=2411576 worker=0 2023-09-30 09:48:49 +0900 [info]: #0 [debug_agent_input] listening dRuby uri="druby://127.0.0.1:24230" object="Fluent::Engine" worker=0 2023-09-30 09:48:49 +0900 [info]: #0 [forward_input] listening port port=24224 bind="0.0.0.0" 2023-09-30 09:48:49 +0900 [info]: #0 fluentd worker is now running worker=0
Environment
https://docs.fluentd.org/installation/install-from-source
Can run the steps without an error.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Cannot successfully run the steps in Install from Source.
Then the following error occurs repeatedly.
unexpected error error_class=ArgumentError error="unknown keyword: :logger"
Entire logs:
If using
bundle exec
, this error does not occur.Environment
Link to the problematic documentation
https://docs.fluentd.org/installation/install-from-source
Expected explanation
Can run the steps without an error.
Additional context
No response
The text was updated successfully, but these errors were encountered: