Skip to content

GRPC logger produces excessive noise at INFO level #46

@liran-funaro

Description

@liran-funaro

Problem

The GRPC logger, initialized in common/flogging/global.go:31, generates excessive log output even at INFO level. This creates significant noise in application logs, making it difficult to identify relevant application-level information.

Impact

  • Log files become cluttered with GRPC internal messages
  • Harder to debug application-level issues
  • Increased log storage requirements
  • Reduced log readability

Proposed Solution

Change the default GRPC logger level to ERROR.

Benefits

  • Cleaner default log output
  • Maintains ability to enable verbose GRPC logging for debugging
  • Follows principle of least surprise - most users don't need GRPC internal logs
  • Backward compatible - applications can opt-in to verbose GRPC logging

Related Projects

This issue affects all projects that depend on fabric-lib-go, including:

  • Fabric-X
  • Fabric
  • Other Hyperledger Fabric components

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions