How to set log to be less verbose? (eg. loglevel = WARN)


my log file is writing a lot of stuff sometimes. Lots of which is just INFO and not important.

I am using an SSD and want to reduce the write operations on the disk + disk usage.

So my question is: How can i set the log-level to WARN or ERROR?

I found the command line switch “-verbose”, but i need the opposite.

Greetings Fino;

This is currently not possible. In normal operation the amount of info level logging is quite low though.

Except for bugs or problems that happen with each file or over and over again, like this:

Over 100,000 lines of this: [3LGK7] 22:26:18 INFO: Puller (folder “folder-id”, file “path\to\file”): pull: peers who had this file went away, or the file has changed while syncing. will retry later

Greetings Fred;

p.s. my version is: [3LGK7] 21:56:34 INFO: syncthing v0.14.39 “Dysprosium Dragonfly” (go1.9 windows-amd64) 2017-09-25 06:05:21 UTC

The peer went away you should fix, fsync issue is fixed in the next release.

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