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

fix the issue #188: add the file name and code line #214

Merged
merged 4 commits into from
May 25, 2021

Conversation

alonlong
Copy link
Contributor

the output format is like:
INFO[25-05-2021 23:05:56] cli/cli.go:415 starting HTTP server

@alonlong alonlong added enhancement New feature or request backend Mostly go code labels May 25, 2021
pkg/exec/cli.go Outdated
@@ -28,7 +28,6 @@ import (

// used in tests
var disableMacOSChecks bool
var disableLinuxChecks bool
Copy link
Member

Choose a reason for hiding this comment

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

why delete this?

I think this format makes the most sense because it's both
* human-readable
* machine-readable (this is RFC3339 with microseconds)
* relatively popular
* a-z sortable
* less ambiguous when it comes to month/day vs day/month conventions
* has good enough precision for our use-case but not too much
@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #214 (5221947) into main (5098f57) will decrease coverage by 0.47%.
The diff coverage is 34.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #214      +/-   ##
==========================================
- Coverage   57.36%   56.90%   -0.46%     
==========================================
  Files          73       73              
  Lines        2943     2988      +45     
==========================================
+ Hits         1688     1700      +12     
- Misses       1110     1137      +27     
- Partials      145      151       +6     
Impacted Files Coverage Δ
pkg/agent/profiler/profiler.go 0.00% <0.00%> (ø)
pkg/agent/selfprofile.go 0.00% <0.00%> (ø)
pkg/agent/spy/spy.go 5.00% <0.00%> (ø)
pkg/agent/upstream/direct/direct.go 0.00% <ø> (ø)
pkg/analytics/analytics.go 84.06% <ø> (ø)
pkg/convert/cli.go 0.00% <0.00%> (ø)
pkg/server/render.go 0.00% <0.00%> (ø)
pkg/storage/labels/labels.go 0.00% <ø> (ø)
pkg/storage/segment/segment.go 89.26% <ø> (ø)
pkg/storage/tree/flamebearer.go 100.00% <ø> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc326f9...5221947. Read the comment docs.

@petethepig petethepig merged commit 63e622f into main May 25, 2021
@petethepig petethepig deleted the feature/logrus_logger branch May 25, 2021 23:31
korniltsev pushed a commit that referenced this pull request Jul 18, 2023
Add createdBy metadata to point to fire and its version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Mostly go code enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants