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:
@@ -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...')
|
||||
|
||||
Reference in New Issue
Block a user