Closed mathquis closed 4 years ago
I've added a --log-level
command-line argument that can be passed to run-venv.sh
or into the Docker image (next version).
There's a chicken and egg problem with putting the log level in the profile. By the time the profile is loaded, major parts of Rhasspy have already been loaded and have attached loggers. I need to do some more digging into Python's logging infrastructure before moving further.
A command line argument is perfect. 😊
Can this be passed to Docker container directly via an environment variables also ? The command line arg can override the env var if present.
Not a priority though 😁
Added RHASSPY_LOG_LEVEL in 2.4.17
I suggest adding a
rhasspy.log_level
option in theprofile.json
file withERROR
,WARNING
,INFO
,DEBUG
values to avoid pushing debug logs in a production setup.