mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 18:04:55 +01:00
azureblob: disable logging to the Windows event log
See: https://forum.rclone.org/t/event-log-warning/12430
This commit is contained in:
parent
2e50543053
commit
2d9b8cb981
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user