Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -28,7 +28,7 @@ class SecurityException extends FrameworkException
|
||||
// Verwende Event-Beschreibung als Message falls nicht gesetzt
|
||||
$finalMessage = $message ?: $securityEvent->getDescription();
|
||||
|
||||
parent::__construct($finalMessage, $code, $previous, $context);
|
||||
parent::__construct($finalMessage, $context, $code, $previous);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,13 +57,13 @@ class SecurityException extends FrameworkException
|
||||
'user_agent' => $_SERVER['HTTP_USER_AGENT'] ?? 'unknown',
|
||||
'request_uri' => $_SERVER['REQUEST_URI'] ?? null,
|
||||
'request_method' => $_SERVER['REQUEST_METHOD'] ?? null,
|
||||
'timestamp' => time()
|
||||
'timestamp' => time(),
|
||||
])->withMetadata([
|
||||
'security_event' => $securityEvent->getEventIdentifier(),
|
||||
'security_level' => $securityEvent->getLogLevel()->value,
|
||||
'security_description' => $securityEvent->getDescription(),
|
||||
'requires_alert' => $securityEvent->requiresAlert(),
|
||||
'event_category' => $securityEvent->getCategory()
|
||||
'event_category' => $securityEvent->getCategory(),
|
||||
]);
|
||||
|
||||
// Merge mit zusätzlichem Context falls vorhanden
|
||||
|
||||
Reference in New Issue
Block a user