# Web SDK 1.9.5 - debug & setLogLevel - what is this for ? Document it please, with proper examples!

**URL:** <https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660>\
**Category:** Web\
**Created:** [May 20, 2021, 9:40am UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660 "2021-05-20T09:40:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [May 20, 2021, 9:40am UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660/1 "2021-05-20T09:40:04Z")

</div>

**Description**

From the release notes, and [that documentation](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build#set-debug-log-level), we have now a method ‘setLogLevel’ available.

But from the [web sdk documentation](https://marketplace.zoom.us/docs/sdk/sdk-reference/web-reference) itself, this method does not exists / is not referenced.

So… i guessed this method has to be called on the ZoomMtg object:

```
ZoomMtg.setLogLevel('info');

```

And yeah, it’s not generating any javascript errors at runtime so looks like i guessed right.

First thing then : **do you mind updating your documentation ? By updating i’m not asking to update the web SDK version number on your documentation but to refence every single method / feature that we can use. And please, also update your API code so that we can also see from our developer tools.**

**No errors: good, but nothing either…**

Bellow are a couple of tests made and the results.  
As also explained on the documentation / communication, we have to set ‘debug’ to true on the SDK initialization to have it. (unless i misunderstood something)

**Base settings** : Debug = true (no setLogLevel invoked)  
No error.  
Result: We have the usual console logs (not using a proper logger framework) as for the previous sdk versions.

**Test 1** : Debug = true + setLogLevel = info.  
No error.  
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.

**Test 2** : Debug = true + setLogLevel = debug.  
No error.  
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.

**Test 3** : Debug = false + setLogLevel = info.  
No error.  
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.

**Test 4** : Debug = false (no setLogLevel invoked)  
No error.  
Result: Nothing changed. Same information on the browser console, still using the console and not a proper logger.

So…

1. **What is this ‘debug’ parameter for at the initialization time ?** Does not look like it has real effect on the information logged by the Web SDK.
2. **What is this setLogLevel method for ?** Again, it has no real effect on the information logged by the Web SDK.

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [May 21, 2021, 1:00am UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660/2 "2021-05-21T01:00:20Z")

</div>

By the way, can you please consider the [following feature request](https://devforum.zoom.us/t/web-sdk-use-a-logging-framework-winston-for-example/42860)

Even if you disagree with that proposition, at least state something.

---

<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:** [May 22, 2021, 1:32am UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660/3 "2021-05-22T01:32:20Z")

</div>

Hey @nvivot,

Thank you for reaching out to the Zoom Developer Forum. I’ve reached out to our engineering team to confirm these details. I’ll follow up with you in regard to the feature request as well.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [June 4, 2021, 2:22am UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660/4 "2021-06-04T02:22:21Z")

</div>

Hello, any updates about this ?

---

<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:** [June 4, 2021, 11:57pm UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660/5 "2021-06-04T23:57:09Z")

</div>

@nvivot

Thanks for your patience. I reached out to our documentation team to clarify this and am awaiting a response (DEVELOPERS-1377)

I’ll update you when I know more.

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:** [July 5, 2021, 9:57am UTC](https://devforum.zoom.us/t/web-sdk-1-9-5-debug-setloglevel-what-is-this-for-document-it-please-with-proper-examples/50660/6 "2021-07-05T09:57:34Z")

</div>

Closed on July 5, 2021, 9:57am UTC

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