Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging messages format non uniform #230

Open
npdgm opened this issue Jan 9, 2024 · 1 comment
Open

Logging messages format non uniform #230

npdgm opened this issue Jan 9, 2024 · 1 comment

Comments

@npdgm
Copy link
Member

npdgm commented Jan 9, 2024

We should try having a common format for all log message producers:

2024/01/09 18:08:38 maxprocs: Updating GOMAXPROCS=1: using minimum allowed GOMAXPROCS
[...]
time="2024-01-09T18:08:38Z" level=info msg="no kubeconfig file provided, attempting to load in-cluster configuration"
time="2024-01-09T18:08:38Z" level=info msg="loaded configuration, API server is at https://xxx:443"
time="2024-01-09T18:08:38Z" level=info msg="fetching API server version"
[...]
level=info ts=2024-01-09T18:08:43.865Z caller=tls_config.go:313 msg="Listening on" address=[::]:9793
level=info ts=2024-01-09T18:08:43.865Z caller=tls_config.go:316 msg="TLS is disabled." http2=false address=[::]:9793
@mobiservice19
Copy link

In JSON format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants