Logfile cleanup tool for Windows. Logfiles shall be kept only for a specific timespan
Tool can run as a service and can be installed without additional tools
Configure logcleanup via config.yml file (see example "logcleanup.yml").
Define config-file via "--config config.yml" when installing the service
logcleanupsvc.exe install --config C:\full\path\to\config\logcleanup.yml
logcleanupsvc.exe start
logcleanupsvc.exe stop
logcleanupsvc.exe remove
logcleanupsvc.exe install --config C:\Users\me\go\src\github.com\festinalente-software\logcleanupsvc\logcleanup_test.yml
Windows service handling is based on: https://github.com/golang/sys/tree/master/windows/svc/example
spf13\viper makes config file handling easy