# How to hide all console logs produced by Zoom Web SDK?

**URL:** <https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774>\
**Category:** Web\
**Created:** [February 19, 2021, 2:30pm UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774 "2021-02-19T14:30:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkopowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gkopowski/32/18891_2.png) [@gkopowski](https://devforum.zoom.us/u/gkopowski)\
**Post date:** [February 19, 2021, 2:30pm UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/1 "2021-02-19T14:30:58Z")

</div>

**Description**  
Hello, is there a way to hide all console logs that comes from the Zoom Web SDK? I tried to set the `debug` option to `false` in the `join()` method but it didn’t change anything. The logs show up on every environment of our app and we really don’t want them to appear on the Production env

**Which Client Web SDK version?**  
1.9.0

**To Reproduce**  
Steps to reproduce the behavior:

1. Init the Zoom meeting using the `ZoomMtg.init()`method
2. Join the meeting using the `ZoomMtg.join()` method
3. See a lot of logs in the console

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/8/f843e4539b6ecae7c7f6c64b6114a8c0680ba3c9.png)

**Device**

- Device: PC, Mac
- OS: every
- Browser: every
- Browser Version: every

---

<div class="post-metadata">

**Author:** ![gkopowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gkopowski/32/18891_2.png) [@gkopowski](https://devforum.zoom.us/u/gkopowski)\
**Post date:** [February 22, 2021, 12:25pm UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/2 "2021-02-22T12:25:02Z")

</div>

Any news here? It’s pretty urgent to me. Thanks in advance

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 22, 2021, 10:47pm UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/3 "2021-02-22T22:47:45Z")

</div>

Hey @gkopowski ,

Good question, we will work on removing these logs. In the meantime, you should be able to disable them via:

> <https://stackoverflow.com/questions/1215392/how-to-quickly-and-conveniently-disable-all-console-log-statements-in-my-code/1215400#1215400>

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gkopowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gkopowski/32/18891_2.png) [@gkopowski](https://devforum.zoom.us/u/gkopowski)\
**Post date:** [February 23, 2021, 8:34am UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/4 "2021-02-23T08:34:37Z")

</div>

Thanks. What is the estimated time to do this? If it’s like a few days/1 week then I will wait, otherwise I will temporarily disable logs using solution you have sent.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 23, 2021, 9:51pm UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/5 "2021-02-23T21:51:54Z")

</div>

Hey @gkopowski,

We don’t have an ETA on when we will make this change. In the meantime, the workaround provided by Tommy is the best method. Alternatively, if you are using babel in your project, you can look into the [Remove Console Transform](https://babeljs.io/docs/en/babel-plugin-transform-remove-console).

I hope that helps!

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![gkopowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gkopowski/32/18891_2.png) [@gkopowski](https://devforum.zoom.us/u/gkopowski)\
**Post date:** [February 24, 2021, 8:51am UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/6 "2021-02-24T08:51:40Z")

</div>

Hey @MaxM  
So I will use the workaround, thanks!

Edit:  
Actually the workaround works only partially - it hides some of the logs, but I sill see a lot of them in the console:

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/b/cbdb86c33ce515efd6a9ef4b8f86567eda8db83a.png)

I used the workaround before and after every line related to Zoom Web SDK to see if it helps but it doesn’t change anything. Is there anything else I can do or that’s all at the moment?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 25, 2021, 12:13am UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/7 "2021-02-25T00:13:10Z")

</div>

Hey @gkopowski,

Thank you for your question. For now, this seems to be the extent of what is possible with this workaround. In the meantime, if you would like the option to disable logging to be considered for a future release, I recommend posting in the #feature-requests category.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![gkopowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gkopowski/32/18891_2.png) [@gkopowski](https://devforum.zoom.us/u/gkopowski)\
**Post date:** [February 26, 2021, 8:53am UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/8 "2021-02-26T08:53:17Z")

</div>

Hey @MaxM  
Thanks for answers, I understand. I’ve posted a feature request as you suggested.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 26, 2021, 11:58pm UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/9 "2021-02-26T23:58:54Z")

</div>

Hey gkopowski,

I’m glad I could help! Thank you for submitting the feature request. You can also subscribe to our [changelog](https://marketplace.zoom.us/docs/changelog) in order to stay up-to-date with the latest features and fixes.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 29, 2021, 9:59am UTC](https://devforum.zoom.us/t/how-to-hide-all-console-logs-produced-by-zoom-web-sdk/43774/10 "2021-03-29T09:59:33Z")

</div>

Closed on March 29, 2021, 9:59am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
