Skip to content

Refactor Logging for Native .NET Support and Container Readiness #36

@stephbu

Description

@stephbu

Overview
Refactor the logging system to leverage native .NET logging APIs, support configurable log verbosity levels, and ensure logs are suitable for container environments.

Requirements

  • Migrate existing custom logging to .NET built-in logging (Microsoft.Extensions. Logging).
  • Allow configuration of log verbosity via environment variables and .NET standard mechanisms.
  • Ensure output format and streaming are compatible with common container runtimes (e.g., Docker, K8s) and aggregate log tools.
  • Remove legacy/custom logger code that can be replaced by native approaches.
  • Add documentation/examples for configuring logging in container scenarios.

Acceptance Criteria

  • All service logs routed through . NET logging abstractions.
  • Log level settable via environment (e.g., LOG_LEVEL) and .NET standard config.
  • Logs stream correctly to container stdout/stderr for aggregation.
  • Clean, maintainable code without obsolete logging artifacts.
  • Clear migration notes in README.

See also: .NET logging docs https://learn. microsoft.com/en-us/dotnet/core/extensions/logging

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions