frkos
1
HI all!
Could anyone explain how to pass --log-level parameter to Rhasspy?
If I run this, I have docker container restarting =(
docker run -d -p 12101:12101 \
--name rhasspy \
--restart unless-stopped \
-v "$HOME/.config/rhasspy/profiles:/profiles" \
-v "$HOME/.config/rhasspy/asound.conf:/root/.asoundrc" \
--device /dev/snd:/dev/snd \
rhasspy/rhasspy \
--user-profiles /profiles \
--profile en \
--log-level warning
frkos
2
Anyone?
I have this error in docker logs
flags:WARN getopt: unrecognized option '--log-level'
and have no idea how to fix it
It’s pretty non-intuitive, but any option you don’t see in the startup script needs to go after a --
like this:
docker run -d -p 12101:12101 \
--name rhasspy \
--restart unless-stopped \
-v "$HOME/.config/rhasspy/profiles:/profiles" \
-v "$HOME/.config/rhasspy/asound.conf:/root/.asoundrc" \
--device /dev/snd:/dev/snd \
rhasspy/rhasspy \
--user-profiles /profiles \
--profile en \
-- \
--log-level warning
Everything after the --
is passed on to rhasspy-server-hermes
as-is.
frkos
4
It works now! thanks a lot =)
I think it will be useful for others too
1 Like