Skip to content

feat(logging): add structured logging module with Winston, CloudWatch…#117

Merged
memplethee-lab merged 1 commit into
SourceXXL:mainfrom
nelly439:feat/structured-logging-and-test-fixes
Jul 22, 2026
Merged

feat(logging): add structured logging module with Winston, CloudWatch…#117
memplethee-lab merged 1 commit into
SourceXXL:mainfrom
nelly439:feat/structured-logging-and-test-fixes

Conversation

@nelly439

Copy link
Copy Markdown
Contributor

…, ELK

  • Add LoggerModule with Winston-backed structured logging
  • JSON format for production, pretty console for development
  • CloudWatch Logs and ELK (Elasticsearch) transport integrations
  • Daily rotating file transports with env-based config
  • Automatic sensitive data sanitization (passwords, tokens, API keys)
  • HTTP request/response logging middleware with request ID correlation
  • PerformanceInterceptor for slow operation detection (configurable threshold)
  • Scoped logger support via forContext() factory
  • Fix auth.service.spec.ts: add tier field to 3 test expectations
  • Fix enhanced-auth.service.spec.ts: align mock expectation with tier field
  • Fix wallet-auth.service.spec.ts: add ConfigService mock to providers
  • Fix websocket.stress.spec.ts: add recursion depth limit to MockSocket
  • Add PROJECT_STATUS.md with full feature and test coverage report

All 55 targeted tests passing across 4 suites
closes #105

…, ELK

- Add LoggerModule with Winston-backed structured logging
- JSON format for production, pretty console for development
- CloudWatch Logs and ELK (Elasticsearch) transport integrations
- Daily rotating file transports with env-based config
- Automatic sensitive data sanitization (passwords, tokens, API keys)
- HTTP request/response logging middleware with request ID correlation
- PerformanceInterceptor for slow operation detection (configurable threshold)
- Scoped logger support via forContext() factory
- Fix auth.service.spec.ts: add tier field to 3 test expectations
- Fix enhanced-auth.service.spec.ts: align mock expectation with tier field
- Fix wallet-auth.service.spec.ts: add ConfigService mock to providers
- Fix websocket.stress.spec.ts: add recursion depth limit to MockSocket
- Add PROJECT_STATUS.md with full feature and test coverage report

All 55 targeted tests passing across 4 suites
@memplethee-lab
memplethee-lab merged commit 5a7fc5f into SourceXXL:main Jul 22, 2026
2 checks passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jul 22, 2026
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Develop Comprehensive Logging Module

2 participants