[MN-01] Missing Logging in KnowledgeCoordinator #1

Open
opened 2026-05-05 12:15:02 +00:00 by mjasin · 0 comments
Owner

Full Detail: The KnowledgeCoordinator.cs service currently relies on Console.WriteLine for progress and error reporting (e.g., lines 45, 66). This is insufficient for production monitoring and debugging.

Action:

  • Inject ILogger<KnowledgeCoordinator> via constructor.
  • Replace all Console.WriteLine with structured logging.
  • Include tenantId and operation type (e.g., 'FullPageGraph', 'SummaryAndQuiz') in the log context.
  • Log exceptions with the full stack trace.
**Full Detail:** The `KnowledgeCoordinator.cs` service currently relies on `Console.WriteLine` for progress and error reporting (e.g., lines 45, 66). This is insufficient for production monitoring and debugging. **Action:** - Inject `ILogger<KnowledgeCoordinator>` via constructor. - Replace all `Console.WriteLine` with structured logging. - Include `tenantId` and operation type (e.g., 'FullPageGraph', 'SummaryAndQuiz') in the log context. - Log exceptions with the full stack trace.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mjasin/Nexus.Reader#1