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:
@@ -28,7 +28,13 @@ export class EnhancedScreenshotService {
|
||||
|
||||
async captureWithLogin(config: ScreenshotConfig): Promise<string[]> {
|
||||
console.log('🚀 Enhanced Screenshot Service - Docker Environment (Dual Session)')
|
||||
console.log('📋 Config:', config)
|
||||
console.log('📋 Config:', {
|
||||
symbol: config.symbol,
|
||||
timeframe: config.timeframe,
|
||||
layouts: config.layouts,
|
||||
sessionId: config.sessionId,
|
||||
credentials: '[REDACTED]'
|
||||
})
|
||||
|
||||
const screenshotFiles: string[] = []
|
||||
const { sessionId } = config
|
||||
|
||||
Reference in New Issue
Block a user