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

Inconsistent log format #1842

Open
7 of 12 tasks
s0nik42 opened this issue Dec 8, 2023 · 0 comments
Open
7 of 12 tasks

Inconsistent log format #1842

s0nik42 opened this issue Dec 8, 2023 · 0 comments
Labels

Comments

@s0nik42
Copy link

s0nik42 commented Dec 8, 2023

Checklist

  • This is not a question or a support request. If you have any boost related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to boost.

Boost component

  • boost daemon - storage providers
  • boost client
  • boost UI
  • boost data-transfer
  • boost index-provider
  • Other

Boost Version

booster-http --version
booster-http version 2.1.1+mainnet+git.e9d18ac5

Describe the Bug

booster-http log are not consistent when log set to json, its a mix of json and non-json lines :

Logging Information

{"level":"info","ts":"2023-12-07T22:10:27.019+0100","logger":"remote-blockstore","caller":"remoteblockstore/remoteblockstore.go:74","msg":"Get","cid":"bafybeidzzznahsvknv23w4isdb252qbu6bf6cuheldrhdeidveec3oyq24","size":982}
{"level":"info","ts":"2023-12-07T22:10:27.026+0100","logger":"booster","caller":"booster-http/run.go:347","msg":"Graceful shutdown successful"}
2023/12/07 22:10:27 http: response.Write on hijacked connection from github.com/ipld/frisbii.(*LoggingResponseWriter).Write (logmiddlware.go:192)
2023-12-07T21:43:04+01:00 127.0.0.1 GET "/ipfs/bafybeie2ic7owa5ljsk5qzcn3acbknngwqaawrfj2nnnax4xv3qay64vty?dag-scope=all" 200 1642478 509687982 1.00 "lassie/v0.0.0-unknown" ""
2023-12-07T20:54:10+01:00 127.0.0.1 GET "/ipfs/bafybeibxnrrwk7f6budkraxjtuvja7uy7gxw7da24jbl4ogb6s4dw7x2ye?dag-scope=all" 200 4576913 1084087599 1.27 "lassie/v0.0.0-unknown" ""
2023-12-07T21:02:54+01:00 127.0.0.1 GET "/ipfs/bafybeidylsnrxcakdzxphtqx4vde4lb5mkathhuvnkg6l76urmjyf3teyu?dag-scope=all" 200 4052064 1083943250 1.00 "lassie/v0.0.0-unknown" ""


### Repo Steps

1. Run '...'
2. Do '...'
3. See error '...'
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant