# \--log-file and --stats simultaneously

**URL:** <https://forum.rclone.org/t/log-file-and-stats-simultaneously/4230>\
**Category:** Help and Support\
**Created:** [November 11, 2017, 8:01pm UTC](https://forum.rclone.org/t/log-file-and-stats-simultaneously/4230 "2017-11-11T20:01:34Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [October 13, 2018, 10:49pm UTC](https://forum.rclone.org/t/log-file-and-stats-simultaneously/4230/14 "2018-10-13T22:49:05Z")

</div>

> [@ncw](#):
>
> | tee "C:\Users\user\Desktop\My Documents\log.log"

Rclone logs to stderr so to capture the log (assuming powershell works something like bash) you'd write this to send stderr to wherever stdout is going

```
rclone ...... 2>&1 | tee "C:\Users\user\Desktop\My Documents\log.log"

```

---

_[View the full topic](https://forum.rclone.org/t/log-file-and-stats-simultaneously/4230)._
