syncthing/cmd
Jakob Borg f9c380d45b
cmd/syncthing: Implement log rotation (fixes #6104) (#6198)
Since we've taken upon ourselves to create a log file by default on
Windows, this adds proper management of that log file. There are two new
options:

  -log-max-old-files="3"    Number of old files to keep (zero to keep only current).
  -log-max-size="10485760"  Maximum size of any file (zero to disable log rotation).

The default values result in four files (syncthing.log, synchting.0.log,
..., syncthing.3.log) each up to 10 MiB in size. To not use log rotation
at all, the user can say --log-max-size=0.
2019-11-28 12:26:14 +01:00
..
stcli all: Remove dead code, fix lost msgLen checks (#6129) 2019-11-06 07:09:58 +01:00
stcompdirs lib: Folder marker is now a folder 2017-09-02 05:52:38 +00:00
stcrashreceiver cmd/stcrashreceiver: Store and serve compressed reports (#5892) 2019-07-28 11:13:04 +02:00
stdisco all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stdiscosrv cmd/stdiscosrv: Sort addresses before replication (fixes #6093) (#6094) 2019-10-18 10:50:19 +02:00
stevents all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stfileinfo all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00
stfinddevice all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
stfindignored cmd/stfindignored: Default to current directory 2018-06-06 22:24:36 +02:00
stgenfiles all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
stindex all: A few more interesting linter fixes (#5502) 2019-02-02 12:09:07 +01:00
strelaypoolsrv all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
strelaysrv all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
stsigtool cmd/stsigtool: Silence spurious Go 1.10 test/vet complaint 2017-12-10 19:42:17 +01:00
stupgrades cmd/stupgrades: Generate appropriate upgrade data (fixes #5924) (#5960) 2019-08-16 10:04:10 +02:00
stvanity all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stwatchfile all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
syncthing cmd/syncthing: Implement log rotation (fixes #6104) (#6198) 2019-11-28 12:26:14 +01:00
uraggregate cmd/ur*: Updates for 1.0 2019-01-03 21:46:02 +01:00
ursrv cmd/usrv: Use better caching 2019-08-29 19:49:27 +02:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00