sematext-agent-docker: On logsene service 503, container stopped with exit code 2

Saw this from the :dev container:

sematext-agent-docker-1: Container stopped with exit code 2
2016-08-04T14:19:03.835216077Z     at emitNone (events.js:91:20) 

The container automatically restarted. Is there a way to see the logs of the stopped container so I can provide the full stack trace?

Actually we have six of these over six nodes, and all of them are throwing this error within a few minutes of each other.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

Testing v1.30.16 right now.

RE: storing failed logs over restarts. If you want to make sure that logs are shipped after restarts, then use

-v /tmp:/logsene-log-buffer

/tmp on host stores then logs, in case of a network or service outage. Docker Agent deletes this files after successful transmission. Taken from https://github.com/sematext/sematext-agent-docker#configuration-parameters

I was able to reproduce this error. @rocketraman thank you for reporting!