Skip to content

chore: unify platform logging setup#438

Open
laotoutou wants to merge 1 commit into
mainfrom
chore/unify-platform-logging
Open

chore: unify platform logging setup#438
laotoutou wants to merge 1 commit into
mainfrom
chore/unify-platform-logging

Conversation

@laotoutou

Copy link
Copy Markdown
Contributor

Summary

  • add shared observability.NewLogger for the platform zap JSON format and service field
  • add observability.NewMigrateLogger and remove duplicated migration logger adapters
  • refactor platform service entrypoints to use the shared logger setup

Tests

  • go test ./pkg/observability
  • go test ./global-gateway/cmd/global-gateway ./regional-gateway/cmd/regional-gateway ./cluster-gateway/cmd/cluster-gateway ./scheduler/cmd/scheduler ./ssh-gateway/cmd/ssh-gateway ./netd/cmd/netd ./netd/pkg/daemon ./manager/cmd/manager ./manager/cmd/procd ./storage-proxy/cmd/storage-proxy ./ctld/cmd/ctld

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.

2 participants