From 2d9b8cb9818e3e34be6924e5c6d3a8355c592cea Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 20 Oct 2019 16:38:37 +0100 Subject: [PATCH] azureblob: disable logging to the Windows event log See: https://forum.rclone.org/t/event-log-warning/12430 --- backend/azureblob/azureblob.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.go index fd2590a8a..526b29e02 100644 --- a/backend/azureblob/azureblob.go +++ b/backend/azureblob/azureblob.go @@ -312,6 +312,9 @@ func httpClientFactory(client *http.Client) pipeline.Factory { // // this code was copied from azblob.NewPipeline func (f *Fs) newPipeline(c azblob.Credential, o azblob.PipelineOptions) pipeline.Pipeline { + // Don't log stuff to syslog/Windows Event log + pipeline.SetForceLogEnabled(false) + // Closest to API goes first; closest to the wire goes last factories := []pipeline.Factory{ azblob.NewTelemetryPolicyFactory(o.Telemetry),