We found some issues during video conference when using openvidu and want to trace the issues in KMS logs. but when I call logs with command “sudo docker-compose logs kms”, the logs show as below:
I’m not able to see a meaningful datetime. How can I find the datetime in KMS logs? Thanks
cruizba
October 30, 2020, 10:34am
2
Hi @Micky_Huang1 . Thank you for your report. This is a known issue in KMS, you can see it here: https://github.com/Kurento/bugtracker/issues/545
The only way you have to show logs with current time is to launch the Kurento Media Server with this env variable: KMS_LOGS_PATH=<log-path>
You can for example create a volume like this in your kms service:
volumes:
- /opt/openvidu/kurento-logs/:/opt/openvidu/kurento-logs
And configure this env variable:
environment:
...
KMS_LOGS_PATH=/opt/openvidu/kurento-logs
This will save the logs into this specific directory with current time.
Regards,
Carlos
Hi, cruizha, I have change my settings as below:
However, no logs show in the folder /opt/openvidu/kurento-logs after video conference created. Anything missed? thanks
cruizba
November 3, 2020, 12:13pm
4
Sorry, I’ve misspelled the variable KMS_LOGS_PATH. It is:
- KURENTO_LOGS_PATH=/opt/openvidu/kurento-logs