# syncthing: directing log output to a file or logging utility

**URL:** https://forum.syncthing.net/t/syncthing-directing-log-output-to-a-file-or-logging-utility/15616
**Category:** Support
**Created:** [September 14, 2020, 1:17pm UTC](https://forum.syncthing.net/t/syncthing-directing-log-output-to-a-file-or-logging-utility/15616 "2020-09-14T13:17:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![savil](https://forum.syncthing.net/user_avatar/forum.syncthing.net/savil/32/8705_2.png) [@savil](https://forum.syncthing.net/u/savil)
#### Post date: [September 14, 2020, 1:17pm UTC](https://forum.syncthing.net/t/syncthing-directing-log-output-to-a-file-or-logging-utility/15616/1 "2020-09-14T13:17:10Z")

</div>

Hello, thanks for building syncthing. I’ve been playing around with it recently for a project. A beginner question: upon starting it from the command line, syncthing prints a bunch of output to the CLI.

1. Is there a way to (temporarily) quiet this output?
2. More permanently, is there a syncthing API to direct this output to a log file, or later on to some logging utility run by a cloud provider to monitor my syncthing instances? How do folks usually accomplish this with syncthing?

Thank you in advance for your help!

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [September 14, 2020, 1:19pm UTC](https://forum.syncthing.net/t/syncthing-directing-log-output-to-a-file-or-logging-utility/15616/2 "2020-09-14T13:19:41Z")

</div>

You can pipe the output to /dev/null, a file, or a logging utility. This often happens automatically, for example when run by systemd.

---

<div class="post-metadata">

### Author: ![savil](https://forum.syncthing.net/user_avatar/forum.syncthing.net/savil/32/8705_2.png) [@savil](https://forum.syncthing.net/u/savil)
#### Post date: [September 14, 2020, 1:22pm UTC](https://forum.syncthing.net/t/syncthing-directing-log-output-to-a-file-or-logging-utility/15616/3 "2020-09-14T13:22:04Z")

</div>

Got it, thank you!

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [October 14, 2020, 1:22pm UTC](https://forum.syncthing.net/t/syncthing-directing-log-output-to-a-file-or-logging-utility/15616/4 "2020-10-14T13:22:08Z")

</div>

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