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

Add log #624

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Add log #624

merged 3 commits into from
Dec 1, 2023

Conversation

Elbehery
Copy link
Member

This PR add logger to bbolt, see https://github.com/etcd-io/raft/blob/main/logger.go

Fixes #509

This PR is a continuation of #513

cc @ahrtr @fuweid

Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
CaojiamingAlan and others added 2 commits November 27, 2023 17:26
…fore testing the nullity of tx.db, it may panic.

Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
@Elbehery
Copy link
Member Author

@ahrtr had to rebase because the last commit i cherrypicked had no sign-off :/

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

@ahrtr ahrtr mentioned this pull request Nov 27, 2023
@tjungblu
Copy link
Contributor

lgtm, generally. Why are we rolling our own logger based on go/log btw?

@Elbehery
Copy link
Member Author

Thanks @tjungblu

We can use diff logger, but we follow the same as in etcd

@ahrtr
Copy link
Member

ahrtr commented Nov 28, 2023

Why are we rolling our own logger based on go/log btw?

Please read conversation in #509, especially #509 (comment)

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

@Elbehery
Copy link
Member Author

can we merge this ?

@fuweid
Copy link
Member

fuweid commented Dec 1, 2023

ping @ahrtr @serathius

@ahrtr ahrtr merged commit 125523a into etcd-io:master Dec 1, 2023
13 checks passed
@Elbehery Elbehery deleted the add_log branch January 12, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add logger to bbolt
5 participants