Closed githubuser100007 closed 2 years ago
First, you need to find out where CoreNLP stores its logs.
If CoreNLP would put them in /some/path/filename.log
in the container,
then you could mount a local folder (e.g. /tmp/corenlp-logs
into the container folder /some/path
) like this:
docker run -v /tmp/corenlp-logs:/some/path -p 9000:9000 nlpbox/corenlp
This way, you can run CoreNLP in Docker, but view the logs on your host system.
Another option would be to:
docker ps
,docker exec -it $CONTAINER_NAME sh
and
Want to run server in docker, but also want to control logging / log files. How would I do this?