# Question about log files

**URL:** <https://openvidu.discourse.group/t/question-about-log-files/1049>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [June 3, 2020, 1:44am UTC](https://openvidu.discourse.group/t/question-about-log-files/1049 "2020-06-03T01:44:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrussiello](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mrussiello](https://openvidu.discourse.group/u/mrussiello)\
**Post date:** [June 3, 2020, 1:44am UTC](https://openvidu.discourse.group/t/question-about-log-files/1049/1 "2020-06-03T01:44:23Z")

</div>

I’ve been using Open Vidu via the AWS Ubuntu Stack. Using 2.14.0. Started with 2.12.0 and have upgraded to 2.13 and 2.14.

I can view logs using via ssh using docker-compose logs

However, I was wondering if there is a way to have the apps (openvidu and kurento) record log files. I cannot find anything in /var/log. I’ve tried mapping /var/logs in docker-compose.yml. It’s just not writing any log files for openvidu or kurento.

Can I configure it to write log files?

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [June 3, 2020, 10:18am UTC](https://openvidu.discourse.group/t/question-about-log-files/1049/2 "2020-06-03T10:18:04Z")

</div>

Hi,

As you already mentioned, you can access the logs of all of the services or some specific service simply with docker commands as explained in here: [https://docs.openvidu.io/en/stable/deployment/deploying-on-premises/#show-service-logs](https://docs.openvidu.io/en/stable/deployment/deploying-on-premises/#show-service-logs)

You can simply store the output of that command in a separate file when running it:

`./openvidu logs > openvidu-server.log`

or for example

`docker-compose logs -f kms > kms.log`
