Skip to content

[Enhancement] use zap as logger #341

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

Conversation

yandongxiao
Copy link
Collaborator

@yandongxiao yandongxiao commented Dec 6, 2023

close #342

@yandongxiao yandongxiao force-pushed the feature/use-controller-runtime-zap-log2 branch from e17c583 to 3a875fb Compare December 6, 2023 07:49
@yandongxiao yandongxiao force-pushed the feature/use-controller-runtime-zap-log2 branch from 3a875fb to d07026d Compare December 6, 2023 08:11
@yandongxiao yandongxiao merged commit fbae4c4 into StarRocks:main Dec 6, 2023
Comment on lines +185 to +186
- --zap-time-encoding iso8601
- --zap-encoder console
Copy link

@matheusjerico matheusjerico Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yandongxiao These parameters are broken.. If I try to install the operator using this deploy/operator.yaml file, I am receiving this error:

kubectl logs kube-starrocks-operator-b49c6d4fc-sljzj -f -p 
flag provided but not defined: -zap-time-encoding iso8601
Usage of /sroperator:

To have success to install the operator, I need to remove the both lines:

        - --zap-time-encoding iso8601
        - --zap-encoder

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I will try to fix it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I Have fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] use zap to replcace klog package
3 participants