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

log: use prefix in std loggers #38275

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Conversation

andreimatei
Copy link
Contributor

Distinguish loggers we inject into stdlib packages by prepending a
custom prefix to all their lines. Otherwise it's very confusing looking
at the file:line tags on their lines as they don't seem to make sense.

Release note: None

Distinguish loggers we inject into stdlib packages by prepending a
custom prefix to all their lines. Otherwise it's very confusing looking
at the file:line tags on their lines as they don't seem to make sense.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

Copy link
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

bors r+

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

craig bot pushed a commit that referenced this pull request Jun 19, 2019
38275: log: use prefix in std loggers r=andreimatei a=andreimatei

Distinguish loggers we inject into stdlib packages by prepending a
custom prefix to all their lines. Otherwise it's very confusing looking
at the file:line tags on their lines as they don't seem to make sense.

Release note: None

Co-authored-by: Andrei Matei <andrei@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Jun 19, 2019

Build succeeded

@craig craig bot merged commit 154c1dd into cockroachdb:master Jun 19, 2019
@andreimatei andreimatei deleted the small.stdlogger branch June 19, 2019 17:40
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

Successfully merging this pull request may close these issues.

3 participants