feat: JSON-Logging mit Correlation-ID, Anfrage-Log und Audit (M2.4)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 17:39:03 +01:00
parent 2ec9eccde6
commit 6cb930d0b0
31 changed files with 1050 additions and 67 deletions

View File

@ -7,6 +7,9 @@ listen = "127.0.0.1:8080"
# Datenbank (nexus.db) und Logs der Instanzen (logs/) liegen hier.
data_dir = "data"
# Log-Stufe: error, warn, info, debug oder trace (die Umgebungsvariable NEXUS_LOG überschreibt sie).
log_level = "info"
[llama_cpp]
# Pfad zu llama-server und Ordner, in denen `nexus model discover` sucht.
binary = "/srv/apps/llama.cpp/build/bin/llama-server"
@ -18,4 +21,6 @@ port_to = 18180
ready_timeout_secs = 120
# Anzahl der Schichten auf der GPU.
gpu_layers = 99
# Wie viele aufgehobene Logs älterer Läufe je Ordner erhalten bleiben.
log_keep = 10
# extra_args = ["--flash-attn"]