# Log excluded files in INFO log level (or with additional parameter in log-format?)

**URL:** <https://forum.rclone.org/t/log-excluded-files-in-info-log-level-or-with-additional-parameter-in-log-format/51951>\
**Category:** Feature\
**Created:** [July 15, 2025, 9:03am UTC](https://forum.rclone.org/t/log-excluded-files-in-info-log-level-or-with-additional-parameter-in-log-format/51951 "2025-07-15T09:03:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IT\_PI](https://forum.rclone.org/user_avatar/forum.rclone.org/it_pi/32/19548_2.png) [@IT\_PI](https://forum.rclone.org/u/IT_PI)\
**Post date:** [July 15, 2025, 9:03am UTC](https://forum.rclone.org/t/log-excluded-files-in-info-log-level-or-with-additional-parameter-in-log-format/51951/1 "2025-07-15T09:03:14Z")

</div>

Some months ago, I've posted the bug that excluded files are not (always) logged with log level DEBUG:

> [@Log files which have been excluded with "--exclude-from"](https://forum.rclone.org/t/log-files-which-have-been-excluded-with-exclude-from/50456):
>
> What is the problem you are having with rclone? I would like to log files which have been excluded. I found this topic [Why rclone output log show "Excluded from sync" using "rclone copy" with a single file?](https://forum.rclone.org/t/why-rclone-output-log-show-excluded-from-sync-using-rclone-copy-with-a-single-file/5384) but it is a copy, and I would need this output for a sync. Ideally I could get the list of excluded files without running a dry run afterwards without excluding files to see what still needs to be transferred ... Run the command 'rclone version' and share the full output of the command. rclo…

as of v1.70.1, excluded files are again logged with log level DEBUG. I see:

```auto
...
2025/07/13 02:59:39 slog/logger.go:256: DEBUG : path1/pdf.pdf: Excluded (Path Filter)
2025/07/13 02:59:39 slog/logger.go:256: DEBUG : path1/pdf.pdf: Excluded
2025/07/13 02:59:39 slog/logger.go:256: DEBUG : path1/pdf2.pdf: Excluded (Path Filter)
2025/07/13 02:59:39 slog/logger.go:256: DEBUG : path1/pdf2.pdf: Excluded
2025/07/13 02:59:39 slog/logger.go:256: DEBUG : path1/pdf3.pdf: Excluded (Path Filter)
2025/07/13 02:59:39 slog/logger.go:256: DEBUG : path1/pdf3.pdf: Excluded
...

```

However, needing the debug log level when syncing folders is bloating the log file I want to keep to have a track record of what happened.

Would it be possible to log excluded files also in INFO log level? Or would it be better if there be an additional parameter for log-format(?) This would not be really a format, but this would not change the output of INFO.

kind regards

---

<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:** [September 13, 2025, 9:03am UTC](https://forum.rclone.org/t/log-excluded-files-in-info-log-level-or-with-additional-parameter-in-log-format/51951/2 "2025-09-13T09:03:43Z")

</div>

Closed on September 13, 2025, 9:03am UTC

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