Skip to content

Instantly share code, notes, and snippets.

@andywenk
Created June 15, 2015 09:20
Show Gist options
  • Save andywenk/2aa6e974e637ad93bde9 to your computer and use it in GitHub Desktop.
Save andywenk/2aa6e974e637ad93bde9 to your computer and use it in GitHub Desktop.
lograge error stacktrace
{"message":"Could not log \"process_action.action_controller\" event. ArgumentError: wrong number of arguments (0 for 1..2) [\"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/exceptions.rb:22:in `initialize'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/lograge-0.3.2/lib/lograge/log_subscriber.rb:72:in `new'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/lograge-0.3.2/lib/lograge/log_subscriber.rb:72:in `get_error_status_code'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/lograge-0.3.2/lib/lograge/log_subscriber.rb:64:in `extract_status'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/lograge-0.3.2/lib/lograge/log_subscriber.rb:13:in `process_action'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/subscriber.rb:100:in `finish'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/log_subscriber.rb:83:in `finish'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/fanout.rb:102:in `finish'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/fanout.rb:46:in `block in finish'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/fanout.rb:46:in `each'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/fanout.rb:46:in `finish'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:36:in `finish'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:25:in `ensure in instrument'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:25:in `instrument'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `instrument'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:137:in `process'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionview-4.2.1/lib/action_view/rendering.rb:30:in `process'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal.rb:196:in `dispatch'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal.rb:237:in `block in action'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `each'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `serve'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/etag.rb:24:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/conditionalget.rb:25:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/head.rb:13:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/flash.rb:260:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/session/abstract/id.rb:225:in `context'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/session/abstract/id.rb:220:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/query_cache.rb:36:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `_run_callbacks'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_call_callbacks'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/airbrake-4.2.1/lib/airbrake/rails/middleware.rb:13:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/lograge-0.3.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `block in call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/logstash-logger-0.10.1/lib/logstash-logger/tagged_logging.rb:5:in `block in tagged'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/logstash-logger-0.10.1/lib/logstash-logger/tagged_logging.rb:16:in `tagged'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/logstash-logger-0.10.1/lib/logstash-logger/tagged_logging.rb:5:in `tagged'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/request_store-1.1.0/lib/request_store/middleware.rb:8:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'\", \"/var/www/production/releases/20150615090250/lib/remove_cache_headers.rb:8:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/methodoverride.rb:22:in `call'\", \"/var/www/production/releases/20150615090250/lib/health_check.rb:17:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/runtime.rb:18:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/rack-1.6.1/lib/rack/sendfile.rb:113:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/airbrake-4.2.1/lib/airbrake/user_informer.rb:16:in `_call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/airbrake-4.2.1/lib/airbrake/user_informer.rb:12:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/application.rb:164:in `call'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-worker-killer-0.4.3/lib/unicorn/worker_killer.rb:52:in `process_client'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:540:in `maintain_worker_count'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:294:in `join'\", \"/var/www/production/shared/bundle/ruby/2.2.0/gems/unicorn-4.9.0/bin/unicorn_rails:209:in `<top (required)>'\", \"/usr/local/rvm/gems/ruby-2.2.1/bin/unicorn_rails:23:in `load'\", \"/usr/local/rvm/gems/ruby-2.2.1/bin/unicorn_rails:23:in `<main>'\", \"/usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'\", \"/usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'\"]","@timestamp":"2015-06-15T11:12:16.951+02:00","@version":"1","host":"saceweb2","file":"/var/www/production/shared/log/production.log","offset":"49545847","type":"application"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment