Remove old Log.cs class and legacy logging infrastructure #175
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket #5 requires removal of
Log.csafter all legacy Log calls are migrated to ILogger (Tickets #2-#3). After merging master (PRs #177 and #179), the migration is complete and Log.cs has been successfully removed.Changes Made
Files Deleted (2)
src/Libraries/ACATCore/Utility/Log.cs(300 lines)src/Libraries/ACATCore.Tests.Logging/LegacyLogLevelTests.cs(113 lines)Files Modified (5)
src/Libraries/ACATCore/ACAT.Core.csproj- Removed Log.cs referencesrc/Applications/ACATApp/Program.cs- Removed Log.SetupListeners() and Log.Close()src/Applications/ACATTalk/Program.cs- Removed Log.SetupListeners() and Log.Close()src/Applications/ACATWatch/Program.cs- Removed Log.SetupListeners() and Log.Close()src/Applications/ACATConfig/Program.cs- Removed Log.SetupListeners()Documentation
TICKET_5_COMPLETION_SUMMARY.mdValidation Results
✅ Log.cs file deleted
$ ls src/Libraries/ACATCore/Utility/Log.cs ls: cannot access 'src/Libraries/ACATCore/Utility/Log.cs': No such file or directory✅ Zero active Log. calls remain* (only commented-out code)
✅ Project file updated
Acceptance Criteria - All Met ✅
Impact
Before: Mixed logging (legacy Log.cs + modern ILogger)
After: Unified modern logging infrastructure (ILogger only)
Code removed: 431 lines of obsolete code
Dependencies Resolved
Original prompt
This section details on the original issue you should resolve
<issue_title>[5] Remove Old Log.cs Class</issue_title>
<issue_description>Estimate: 0.5 days
Sprint: Week 2
Assignee: [Developer]
Description
Remove the legacy
Log.csclass after confirming all usages have been migrated to ILogger.Context
Tasks
Log.Debug,Log.Error, etc.Libraries\ACATCore\Utility\Log.csAcceptance Criteria
Log.csfile deletedValidation
Dependencies
🎫 Ticket #6: Analyze XML Configuration Files
Labels:
phase-1-foundation,configuration,P1-High,analysis,ai-generatedEstimate: 1 day
Assignee: [Developer]
Sprint: Week 3
Description
Use AI to analyze all XML configuration files in ACAT, document their schemas, and identify migration candidates for JSON conversion.
Context
AI Prompt
Tasks
Acceptance Criteria
docs/xml-migration-analysis.mdDeliverable Structure
[Continue for all schema types...]
Recommended Migration Order
Generated POCO Classes
[Include code samples]
For each of the top 5 XML configuration schemas in ACAT:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.