# Change REST API log level

**URL:** <https://discuss.ipfs.tech/t/change-rest-api-log-level/8723>\
**Category:** IPFS Cluster\
**Created:** [July 21, 2020, 9:36am UTC](https://discuss.ipfs.tech/t/change-rest-api-log-level/8723 "2020-07-21T09:36:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dapplion](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/dapplion/32/3994_2.png) [@dapplion](https://discuss.ipfs.tech/u/dapplion)\
**Post date:** [July 21, 2020, 9:36am UTC](https://discuss.ipfs.tech/t/change-rest-api-log-level/8723/1 "2020-07-21T09:36:11Z")

</div>

Is it possible to change the HTTP REST API log level to WARN for example? I don’t want to divert the logs to `http_log_file` but also prevent the spam on each request.  
Thank you!

---

<div class="post-metadata">

**Author:** ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)\
**Post date:** [July 21, 2020, 9:43am UTC](https://discuss.ipfs.tech/t/change-rest-api-log-level/8723/2 "2020-07-21T09:43:46Z")

</div>

You can hide those playing with the `--loglevel` flag:

```auto
$ ipfs-cluster-service --loglevel restapilog:error daemon

```

will effectively hide all INFO messages produced by the API requests.
