kubernetes-retired / cluster-api-provider-nested

Cluster API Provider for Nested Clusters
Apache License 2.0
301 stars 67 forks source link

log format inconsistent between components #170

Open jichenjc opened 3 years ago

jichenjc commented 3 years ago
cloudusr@jitest19:~$ kubectl logs vn-agent-p6gqv -n vc-manager
I0711 10:26:39.325504       1 cert.go:61] Using self-signed cert (/etc/vn-agent/vn.crt, /etc/vn-agent/vn.key)
I0711 10:26:39.325587       1 server.go:127] server listen on :10550
cloudusr@jitest19:~$
cloudusr@jitest19:~$ kubectl logs vc-manager-76c5878465-bwq2t -n vc-manager
{"level":"info","ts":1625999191.3924062,"logger":"entrypoint","msg":"setting up client for manager"}
{"level":"info","ts":1625999191.393097,"logger":"entrypoint","msg":"setting up manager"}
{"level":"info","ts":1625999192.0039604,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":0"}
{"level":"info","ts":1625999192.0044432,"logger":"entrypoint","msg":"Registering Components."}
{"level":"info","ts":1625999192.0044632,"logger":"entrypoint","msg":"setting up scheme"}
{"level":"info","ts":1625999192.0047922,"logger":"entrypoint","msg":"Setting up controller"}
{"level":"info","ts":1625999192.0049727,"logger":"entrypoint","msg":"setting up webhooks"}
{"level":"info","ts":1625999192.045926,"logger":"virtualcluster-webhook","msg":"successfully created service/virtualcluster-webhook-service"}
{"level":"info","ts":1625999198.7617276,"logger":"virtualcluster-webhook","msg":"successfully generate certificate and key file"}
{"level":"info","ts":1625999198.7618213,"logger":"virtualcluster-webhook","msg":"will create validatingwebhookconfiguration/virtua

User Story

As a [developer/user/operator] I would like to [high level description] for [reasons]

Detailed Description

[A clear and concise description of what you want to happen.]

Anything else you would like to add:

[Miscellaneous information that will assist in solving the issue.]

/kind feature

jichenjc commented 3 years ago

/assign

jichenjc commented 3 years ago

not a big deal ,but to be consistent seems better

christopherhein commented 3 years ago

Definitely agree, consistency would be great!

k8s-triage-robot commented 3 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

christopherhein commented 3 years ago

/remove-lifecycle stale /lifecycle frozen