Commit d095a1e6 authored by Valérian STG_CAZANAVE's avatar Valérian STG_CAZANAVE Committed by Tom Jorquera

remove logs redirection

The way logs were handled did not play nice with docker log viewing
utilities.
Logs are no longer redirected from stdout.
parent 04779dbb
......@@ -33,7 +33,7 @@ fi;
if [ "$MASTER" == "localhost" ] ; then
# start a local master
python /opt/kaldi-gstreamer-server/kaldigstserver/master_server.py --port=$PORT 2>> /opt/master.log &
python /opt/kaldi-gstreamer-server/kaldigstserver/master_server.py --port=$PORT &
fi
export GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/
......@@ -42,7 +42,7 @@ NB_WORKERS=${NB_WORKERS:-1}
for i in $(seq 1 $NB_WORKERS)
do
#start worker and connect it to the master
python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c $YAML -u ws://$MASTER:$PORT/worker/ws/speech 2>> /opt/worker-$i.log &
python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c $YAML -u ws://$MASTER:$PORT/worker/ws/speech &
done
sleep infinity
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment