Skip to content

Conversation

gammazero
Copy link
Contributor

@gammazero gammazero commented May 8, 2025

go-log v2 has been out for quite a while now and it is time to deprecate v1.

Replaces: PR #8765

Changes:

  • Replace all use of go-log with go-log/v2
  • Makes /api/v0/log/tail useful over HTTP
  • Updates dependencies that have moved to go-lov/v2
  • Removes support for ContextWithLoggable as this is not needed for tracing-like functionality

Issues addressed:

@gammazero gammazero requested review from lidel and a team as code owners May 8, 2025 16:54
@gammazero gammazero marked this pull request as draft May 10, 2025 06:17
@gammazero gammazero force-pushed the chore/use-go-log-v2 branch from 668d8d2 to e50211d Compare May 12, 2025 18:36
@gammazero gammazero marked this pull request as ready for review May 13, 2025 18:40
@gammazero gammazero marked this pull request as draft May 14, 2025 07:21
@gammazero gammazero marked this pull request as ready for review May 15, 2025 05:44
This was referenced May 16, 2025
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

lgtm, small cosmetic asks inline – ok to merge once addressed.

Planning to include this in 0.36.

@gammazero gammazero mentioned this pull request May 19, 2025
3 tasks
@gammazero gammazero force-pushed the chore/use-go-log-v2 branch from cfc2bbb to 8e3165e Compare May 19, 2025 15:01
@gammazero gammazero requested a review from hsanjuan May 19, 2025 15:02
@gammazero gammazero merged commit 20d9660 into master May 19, 2025
16 checks passed
@gammazero gammazero deleted the chore/use-go-log-v2 branch May 19, 2025 20:04
@gammazero gammazero mentioned this pull request May 19, 2025
3 tasks
@lidel lidel mentioned this pull request May 21, 2025
46 tasks
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.

ipfs log level does not work "ipfs log tail" doesn't log anything Switch to go-log v2
3 participants