# Log level changes

**URL:** <https://forum.rclone.org/t/log-level-changes/14582>\
**Category:** Help and Support\
**Created:** [February 26, 2020, 10:36pm UTC](https://forum.rclone.org/t/log-level-changes/14582 "2020-02-26T22:36:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [February 26, 2020, 10:36pm UTC](https://forum.rclone.org/t/log-level-changes/14582/1 "2020-02-26T22:36:28Z")

</div>

@ncw I was just wondering would it be too much work to change the way the log level works.

For example if I specify INFO, I get NOTICE as well, and if I specify DEBUG I get INFO, NOTICE, ERROR and DEBUG I believe.

Rather than be restricted in getting the level I requested, and all the levels below it, would it be possible to have some finer grain control?

Say something along the lines of how Apache does it.

```auto
E_ERROR & ~E_DEPRECATED

```

So in that instance I'd get all the errors but none of the deprecated ones.

```auto
E_ALL & ~E_NOTICE

```

There are others like above, so I would get all the log levels but not the NOTICE level.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [February 27, 2020, 10:34am UTC](https://forum.rclone.org/t/log-level-changes/14582/2 "2020-02-27T10:34:32Z")

</div>

> [@AeroMaxx](#):
>
> Rather than be restricted in getting the level I requested, and all the levels below it, would it be possible to have some finer grain control?

I guess that is possible. Mainly the configuration of it is a pain!

What particular problem are you trying to solve?

Would you consider implementing this feature?

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [February 27, 2020, 12:08pm UTC](https://forum.rclone.org/t/log-level-changes/14582/3 "2020-02-27T12:08:35Z")

</div>

Oh just when using rclone with size limits you get lots of NOTICE entries saying which files were skipped, it makes the log unnecessarily large.

I could have a look certainly, am unsure about the implementing part anytime soon but if you're happy with slow progress then it'll be fine, just I have a mountain of other commitments at the moment, there isn't private messaging on this forum is there?

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [February 27, 2020, 3:35pm UTC](https://forum.rclone.org/t/log-level-changes/14582/4 "2020-02-27T15:35:03Z")

</div>

> [@AeroMaxx](#):
>
> Oh just when using rclone with size limits you get lots of NOTICE entries saying which files were skipped, it makes the log unnecessarily large.

Maybe the thing to do would be to tone down that log a bit to info, so it doesn't show unless you use `-v`?

Can you give an example of the log and I'll track it down

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [February 28, 2020, 8:24am UTC](https://forum.rclone.org/t/log-level-changes/14582/5 "2020-02-28T08:24:04Z")

</div>

@ncw Oops sorry it seems I got mixed up between two different logs, so what I originally stated is false, the skipping of each file that is over the limit or under the limit isn't in my log.

But what these are, and this is what I meant to say i'd like to ignore and have not appear in my logs as I don't care too much about the symlinks I just want to backup my files, and be able to restore them if I accidentally delete something, I have 7 days grace period where I can still restore the file from Google Drive, although after the 7 days whilst its not in my synced folder it will be in my trash so can still restore if needs be.

```auto
2020/02/21 21:02:02 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot.tmp/vmlinuz: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:02 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot.tmp/initrd.img: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/lessfile: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/mt: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/rbash: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/nc: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/ypdomainname: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/nisdomainname: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/rnano: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/lsmod: Can't follow symlink without -L/--copy-links
2020/02/21 21:02:03 NOTICE: Backups/HOSTNAME/mirror/home/USERNAME/OS/chroot/bin/systemd: Can't follow symlink without -L/--copy-links

```

---

<div class="post-metadata">

**Author:** ![darthShadow](https://forum.rclone.org/user_avatar/forum.rclone.org/darthshadow/32/1322_2.png) [@darthShadow](https://forum.rclone.org/u/darthShadow)\
**Post date:** [February 28, 2020, 9:20am UTC](https://forum.rclone.org/t/log-level-changes/14582/6 "2020-02-28T09:20:25Z")

</div>

Can you try this flag instead:

```auto
 --skip-links Don't warn about skipped symlinks.

```

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [February 28, 2020, 9:25am UTC](https://forum.rclone.org/t/log-level-changes/14582/7 "2020-02-28T09:25:20Z")

</div>

Oh yes I am aware of that, but I was using it as an example to have better log levels and more finer grain control.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [February 28, 2020, 10:44am UTC](https://forum.rclone.org/t/log-level-changes/14582/8 "2020-02-28T10:44:03Z")

</div>

The rclone log levels are deliberately quite coarse grained to make them simple.

If you block NOTICEs then you'll be missing stuff you probably did want to see...

Its probably more productive to focus on specific logs that are troublesome.

---

<div class="post-metadata">

**Author:** ![AeroMaxx](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@AeroMaxx](https://forum.rclone.org/u/AeroMaxx)\
**Post date:** [February 28, 2020, 5:39pm UTC](https://forum.rclone.org/t/log-level-changes/14582/9 "2020-02-28T17:39:43Z")

</div>

Ok in that case what would you consider to be troublesome logs?

For me personally I'd still like some greater control, but maybe this could be something additional, not sure what that flag would be called however.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [February 29, 2020, 8:16am UTC](https://forum.rclone.org/t/log-level-changes/14582/10 "2020-02-29T08:16:31Z")

</div>

> [@AeroMaxx](#):
>
> Ok in that case what would you consider to be troublesome logs?

The ones which are bothering you.

The idea is that rclone should be almost silent without `-v`, it should show info about transfers with `-v` and show everything with `-vv`.

> [@AeroMaxx](#):
>
> For me personally I'd still like some greater control, but maybe this could be something additional, not sure what that flag would be called however.

I'm open to suggestions!

It might be that re-working the log system would be a good idea, I'm just not convinced that we've hit upon the right idea yet.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [May 31, 2020, 6:24am UTC](https://forum.rclone.org/t/log-level-changes/14582/12 "2020-05-31T06:24:16Z")

</div>

Closed on May 31, 2020, 6:24am UTC

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