SECURITY: Remove credential exposure from logs

- Replace full config logging with sanitized version
- Credentials now show as [REDACTED] in console logs
- Fixed in: enhanced-screenshot service, API routes, test files
- Prevents TradingView email/password from appearing in container logs
This commit is contained in:
mindesbunister
2025-07-17 14:46:01 +02:00
parent a6d12e9cb0
commit 743bb6bc73
4 changed files with 28 additions and 5 deletions

View File

@@ -15,7 +15,12 @@ async function testDualSessionScreenshots() {
}
}
console.log('📋 Test Configuration:', config)
console.log('📋 Test Configuration:', {
symbol: config.symbol,
timeframe: config.timeframe,
layouts: config.layouts,
credentials: '[REDACTED]'
})
// Perform the dual-session screenshot capture
console.log('\n🔄 Starting dual-session capture...')