feat: add LOG_LEVEL env var and improve error messages

Add configurable LOG_LEVEL (fatal/error/warn/info/debug/trace) for
Fastify logger. Always return error details in tool processing
responses and combine error + details in frontend display.
This commit is contained in:
Siddharth Kumar Sah
2026-04-11 14:47:30 +08:00
parent f2696443dc
commit 6c1a347f1c
5 changed files with 12 additions and 5 deletions
+2 -1
View File
@@ -182,7 +182,8 @@ ENV PORT=1349 \
MAX_BATCH_SIZE=200 \
CONCURRENT_JOBS=3 \
MAX_MEGAPIXELS=100 \
RATE_LIMIT_PER_MIN=100
RATE_LIMIT_PER_MIN=100 \
LOG_LEVEL=info
# NVIDIA Container Toolkit env vars (harmless on non-GPU systems)
ENV NVIDIA_VISIBLE_DEVICES=all \