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

different log formats #1584

Closed
sfeng1996 opened this issue Jul 15, 2022 · 2 comments · Fixed by #1654
Closed

different log formats #1584

sfeng1996 opened this issue Jul 15, 2022 · 2 comments · Fixed by #1654
Assignees
Labels
kind/bug Something isn't working log

Comments

@sfeng1996
Copy link
Contributor

What happen?

The console prints out different log formats

image

Relevant log output?

No response

What you expected to happen?

No response

How to reproduce it (as minimally and precisely as possible)?

No response

Anything else we need to know?

No response

What is the version of Sealer you using?

{"gitVersion":"v0.8.6","gitCommit":"884513e","buildDate":"2022-07-12 02:58:54","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}

What is your OS environment?

NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

What is the Kernel version?

Linux master-172-31-97-104 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Other environment you want to tell us?

  • Cloud provider or hardware configuration:
  • Install tools:
  • Others:
@sfeng1996 sfeng1996 added the kind/bug Something isn't working label Jul 15, 2022
@allencloud
Copy link
Member

@sfeng1996
Yeah, the blue ones are sealer's log and its format is from logrus. Currently the default log format is logrus. The the logs with preflight prefix are from kubeadm which is called by sealer.

@sfeng1996
Copy link
Contributor Author

@sfeng1996 Yeah, the blue ones are sealer's log and its format is from logrus. Currently the default log format is logrus. The the logs with preflight prefix are from kubeadm which is called by sealer.

I may not have described it clearly. I mean there are two kinds of blue on the console, one of which is like the previous sealer logger format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working log
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants