OpenNMT/nmt-wizard-docker

Print the whole request on the server

panosk opened this issue · 2 comments

Hello,

Is it possible to print the client's source text and the translation in the server while running the REST server? I saw there is a DEBUG logging option in serving.py, will that do the trick and how can I enable it?

Thanks!

Hi,

Yes, you can set the environment variable LOG_LEVEL=DEBUG.

Thanks!