Open artem-shelkovnikov opened 4 months ago
Logs for the service are written to files, see: https://github.com/elastic/data-extraction-service?tab=readme-ov-file#logging
So you can run a docker exec
command to tail
those, or SSH into the container to tail them.
Can we also pipe the logs into stdout so that I'm able to just docker logs <id>
?
I suppose we could investigate it. We don't have many (any?) logs for the lua nginx logic that's actually "ours". And I'd feel a bit odd about further exposing the tika logs, since we don't want to support "tika", but our service. Maybe the answer really is to just have more logging in our lua code?
I've re-labeled as an enhancement.
I'd say it would help to see nginx logs for endpoints:
called /subextract
: 200 OK
called /subextract
: 500 INTERNAL SERVER ERROR
Bug Description
Running service from a docker image I see no logs when content is extracted at all. Can I do anything about it?
To Reproduce
Steps to reproduce the behavior:
use_extraction_service
totrue
Expected behavior
Logs are displayed about requests received.