Reputation: 37
In Linux, the Docker containers log files are in location :
/var/lib/docker/containers/<container-id>/<container-id>-json.log
docker logs <container_id>
might not return actual container/app log ? is my understanding correct?
Upvotes: 0
Views: 191
Reputation: 151
Better solution would be to use fluentbit and push thelogs to elasticsearch.
Upvotes: 1