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

Failure with Rails 5 #25

Open
bjonnh-work opened this issue Jan 13, 2022 · 0 comments
Open

Failure with Rails 5 #25

bjonnh-work opened this issue Jan 13, 2022 · 0 comments

Comments

@bjonnh-work
Copy link

Trying to use ecs-logging with Rails 5:

Traceback (most recent call last):
	33: from bin/rails:4:in `<main>'
	32: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require'
	31: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency'
	30: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require'
	29: from /home/user/.ruby/gems/bootsnap-1.6.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	28: from /home/user/.ruby/gems/bootsnap-1.6.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	27: from /home/user/.ruby/gems/bootsnap-1.6.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	26: from /home/user/.ruby/gems/bootsnap-1.6.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	25: from /home/user/.ruby/gems/bootsnap-1.6.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	24: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands.rb:18:in `<main>'
	23: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/command.rb:46:in `invoke'
	22: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/command/base.rb:69:in `perform'
	21: from /home/user/.ruby/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
	20: from /home/user/.ruby/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
	19: from /home/user/.ruby/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
	18: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands/server/server_command.rb:142:in `perform'
	17: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands/server/server_command.rb:142:in `tap'
	16: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands/server/server_command.rb:147:in `block in perform'
	15: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands/server/server_command.rb:51:in `start'
	14: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands/server/server_command.rb:89:in `log_to_stdout'
	13: from /home/user/.ruby/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
	12: from /home/user/.ruby/gems/railties-5.2.6/lib/rails/commands/server/server_command.rb:29:in `app'
	11: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/instance_delegator.rb:29:in `warn'
	10: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/instance_delegator.rb:22:in `warn'
	 9: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/reporting.rb:22:in `warn'
	 8: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/reporting.rb:22:in `tap'
	 7: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/reporting.rb:23:in `block in warn'
	 6: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/reporting.rb:23:in `each'
	 5: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/reporting.rb:23:in `block (2 levels) in warn'
	 4: from /home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/deprecation/behaviors.rb:33:in `block in <class:Deprecation>'
	 3: from /home/user/.ruby/gems/ecs-logging-1.0.0/lib/ecs_logging/logger.rb:73:in `block (2 levels) in <class:Logger>'
	 2: from /home/user/.ruby/gems/ecs-logging-1.0.0/lib/ecs_logging/logger.rb:53:in `add'
	 1: from /home/user/.ruby/gems/ecs-logging-1.0.0/lib/ecs_logging/logger.rb:94:in `format_message'
/home/user/.ruby/gems/activesupport-5.2.6/lib/active_support/tagged_logging.rb:22:in `call': unknown keywords: :"transaction.id", :"trace.id", :"span.id" (ArgumentError)

Not sure what to do at that stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant