forked from TrueCloudLab/rclone
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue