> For the complete documentation index, see [llms.txt](https://painor.gitbook.io/gramjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://painor.gitbook.io/gramjs/faq.md).

# FAQ

## How do I stop logging?

logging is enabled by default to the most verbose option.to remove it you can do the following

{% tabs %}
{% tab title="JavaScript" %}
{% code title="logging.js" %}

```javascript
client.setLogLevel("none"); // no logging
client.setLogLevel("error"); // only errors
client.setLogLevel("warn"); // warnings too
client.setLogLevel("info"); // info too
client.setLogLevel("debug"); // everything

```

{% endcode %}
{% endtab %}

{% tab title="TypeScript" %}
{% code title="logging.ts" %}

```typescript
client.setLogLevel("none"); // no logging
client.setLogLevel("error"); // only errors
client.setLogLevel("warn"); // warnings too
client.setLogLevel("info"); // info too
client.setLogLevel("debug"); // everything

```

{% endcode %}
{% endtab %}
{% endtabs %}

## Can I use a proxy?

Sadly no, gramjs is meant to be used in both browser and nodejs ecosystem, and as far as I know, there is no way to use proxies in browsers so it's not currently possible.
