refactor: improve logging system and add deployment fixes
- Enhance logging handlers (Console, DockerJson, File, JsonFile, MultiFile) - Improve exception and line formatters - Update logger initialization and processor management - Add Ansible playbooks for staging 502 error troubleshooting - Update deployment documentation - Fix serializer and queue components - Update error kernel and queued log handler
This commit is contained in:
@@ -37,20 +37,6 @@ final readonly class ProcessorManager
|
||||
return $record;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sortiert die Processors nach Priorität (höhere Priorität = frühere Ausführung)
|
||||
*/
|
||||
private function sortProcessors(): array
|
||||
{
|
||||
$processors = $this->processors;
|
||||
|
||||
usort($processors, function (LogProcessor $a, LogProcessor $b) {
|
||||
return $b->getPriority() <=> $a->getPriority(); // Absteigend sortieren
|
||||
});
|
||||
|
||||
return $processors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sortiert eine Liste von Processors
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user