Log file and debug mode

Is any log file?
How can I get debug info?

You can print Argos Translate logs to the console like this:

export ARGOS_DEBUG=1

I think LibreTranslate and it’s other underlying libraries print and logs to standard output.

Argos Translate also uses the logging module in the Python standard library so you can access the logs from Python too.

Passing --debug enables some debug messages on LibreTranslate, but there are no log files recorded.

1 Like