Skip to content

Decouple ServerLoggerConnector from connection #1623

@kmcginnes

Description

@kmcginnes

Parent PRD

What to build

Update ServerLoggerConnector to use the apiBase constant directly instead of receiving a connection URL in its constructor. Replace createLoggerFromConnection with a connection-independent factory that always creates a ServerLoggerConnector. Logging to the server works even before a connection is configured.

Type: HITL — requires review before completion.

Acceptance criteria

  • ServerLoggerConnector constructor takes no arguments, uses apiBase internally
  • createLoggerFromConnection is replaced with a simpler factory (no connection dependency)
  • Server logging works before any connection is configured
  • Tests verify logs are sent to ${apiBase}logger
  • Tests verify the logger works without a connection

Blocked by

User stories addressed

  • User story 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions