1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-15 22:49:13 +00:00

Add logging structs/file content to trace loglevel

This commit is contained in:
Sebastiaan van Steenis
2020-03-05 19:42:05 +01:00
parent b9b29be0e5
commit 5c7daf4fb1
6 changed files with 12 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ const (
)
func ReconcileCluster(ctx context.Context, kubeCluster, currentCluster *Cluster, flags ExternalFlags, svcOptionData map[string]*v3.KubernetesServicesOptions) error {
logrus.Debugf("[reconcile] currentCluster: %+v\n", currentCluster)
logrus.Tracef("[reconcile] currentCluster: %+v\n", currentCluster)
log.Infof(ctx, "[reconcile] Reconciling cluster state")
kubeCluster.UpdateWorkersOnly = flags.UpdateOnly
if currentCluster == nil {