# Set RCLONE logging level via RPC

**URL:** <https://forum.rclone.org/t/set-rclone-logging-level-via-rpc/42687>\
**Category:** Help and Support\
**Created:** [November 2, 2023, 4:09am UTC](https://forum.rclone.org/t/set-rclone-logging-level-via-rpc/42687 "2023-11-02T04:09:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![art](https://forum.rclone.org/user_avatar/forum.rclone.org/art/32/16679_2.png) [@art](https://forum.rclone.org/u/art)\
**Post date:** [November 3, 2023, 5:10pm UTC](https://forum.rclone.org/t/set-rclone-logging-level-via-rpc/42687/3 "2023-11-03T17:10:17Z")

</div>

Running rclone with:

```auto
rclone rc options/set --json '{"main": {"LogLevel": "DEBUG"}}'

```

will require running HTTP server and rclone installation. I prefer to use it as a go module with librclone.

If `LogLevel` and `LofFile` options cannot be set via librclone.RPC would it possible to set the `ReturnType` via librclone.RPC call for `sync/copy` commands?  
I'm not sure if `ReturnType` is a valid option for `sync/copy` commands. In docs I found it in the [core/command](https://rclone.org/rc/#core-command) description.

---

_[View the full topic](https://forum.rclone.org/t/set-rclone-logging-level-via-rpc/42687)._
