Skip to content

Extract Common Logging Configuration to Shared Package #2378

@yehuditkerido

Description

@yehuditkerido

Context

PR #2353 extracted BBR command-line arguments to structured Options following the EPP pattern. Logging configuration code is now duplicated between EPP and BBR.

Task

Extract common logging configuration from EPP and BBR into a shared package to avoid duplication and promote reusability across components.

Scope

  • Identify duplicated logging code in pkg/epp/server/options.go and pkg/bbr/server/options.go
  • Create shared logging options package at /pkg/common/observability/logging/options.go
  • Refactor EPP and BBR to use the shared implementation
  • Maintain backward compatibility with existing CLI flags

Benefits

  • Single source of truth for logging configuration
  • Consistent logging behavior across components
  • Easier maintenance and future reusability

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions