apm-agent-ruby: Logging not working

With a config/elastic_apm.yml

---
server_url: 'http://monitoring.apm:8200'
log_path: 'log/elastic_apm.log'

I don’t see any logs.

Expected behaviour:

There should be a file named elastic_apm.log under RAILS_ROOT/log containing the log information for the apm agent.

Used gem is version 0.7.1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

thx @mikker , looks better now, I see the file, and even some content:

E, [2018-06-07T13:39:44.675549 #63099] ERROR -- : [ElasticAPM] apm-server's response: {"error":"Queue is full"}
E, [2018-06-07T13:39:44.693682 #63121] ERROR -- : [ElasticAPM] POST returned an unsuccessful status code (503)
E, [2018-06-07T13:39:44.693727 #63121] ERROR -- : [ElasticAPM] apm-server's response: {"error":"Queue is full"}
E, [2018-06-07T13:39:49.461785 #63054] ERROR -- : [ElasticAPM] POST returned an unsuccessful status code (503)

Can be closed 😉