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

feat: implement structured logging and remove glog #748

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

hbagdi
Copy link
Member

@hbagdi hbagdi commented Jun 26, 2020

This commit uses logrus to implement structured logging throughout the
repository.

Two new flags have been introduced for managing logging: --log-level
and --log-format.

Fix #712
Fix #506

@hbagdi hbagdi requested a review from rainest as a code owner June 26, 2020 23:37
@hbagdi hbagdi force-pushed the feat/structured-logging branch 2 times, most recently from 3e1db20 to 437a697 Compare July 8, 2020 20:26
@hbagdi hbagdi changed the base branch from master to next July 8, 2020 20:40
This commit uses logrus to implement structured logging throughout the
repository.

Two new flags have been introduced for managing logging: `--log-level`
and `--log-format`.

Fix #712
Fix #506
Copy link
Contributor

@rainest rainest left a comment

Choose a reason for hiding this comment

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

There is a remaining TODO at https://github.com/Kong/kubernetes-ingress-controller/pull/748/files#diff-5a3256bc175c2a0c1f90487004e63cb3R392 but that may well be intentionally deferred til later.

Even if it's not intended leaving it in shouldn't cause any harm, so going ahead with approval.

Scan through suggests everything is indeed either replaced or was removed old init code that isn't needed in the new system.

@hbagdi hbagdi merged commit 30c727d into next Jul 9, 2020
@hbagdi hbagdi deleted the feat/structured-logging branch July 9, 2020 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants