From cf30843fe8678c1e4c71083943709fc6bf512bad Mon Sep 17 00:00:00 2001 From: Ralf Grubenmann Date: Mon, 26 Feb 2024 12:56:01 +0100 Subject: [PATCH] address comments --- deploy/csi-rclone/values.yaml | 2 +- pkg/rclone/rclone.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy/csi-rclone/values.yaml b/deploy/csi-rclone/values.yaml index 4a86a2f..9795ef5 100644 --- a/deploy/csi-rclone/values.yaml +++ b/deploy/csi-rclone/values.yaml @@ -59,4 +59,4 @@ csiNodepluginRclone: tolerations: [] affinity: {} kubernetesClusterDomain: cluster.local -logLevel: NOTICE +logLevel: NOTICE # Valid levels: DEBUG|INFO|NOTICE|ERRO diff --git a/pkg/rclone/rclone.go b/pkg/rclone/rclone.go index 41c1993..da3827d 100644 --- a/pkg/rclone/rclone.go +++ b/pkg/rclone/rclone.go @@ -325,7 +325,6 @@ func (r *Rclone) run_daemon() error { loglevel = "NOTICE" } rclone_args = append(rclone_args, fmt.Sprintf("--log-level=%s", loglevel)) - // rclone_args = append(rclone_args, "--log-file=/tmp/rclone.log") rclone_args = append(rclone_args, fmt.Sprintf("--config=%s", f.Name())) klog.Infof("running rclone remote control daemon cmd=%s, args=%s, ", rclone_cmd, rclone_args)