From 8cb2fe5fd2b99f15188f09348f5969c30fb386fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Sainl=C3=A9ger?= Date: Mon, 10 Aug 2026 17:06:14 +0200 Subject: [PATCH] [CLN] finalize_db: purge ``ir_logging`` Truncate the ``ir_logging`` table which accumulates Python logger messages (63 MB of ``INFO``-level ``ir.actions.server`` traces) with no business value after migration. --- scripts/finalize_db.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/finalize_db.sh b/scripts/finalize_db.sh index f50a548..dcdefb4 100755 --- a/scripts/finalize_db.sh +++ b/scripts/finalize_db.sh @@ -23,6 +23,12 @@ EOF ) query_postgres_container "$CLEANUP_SQL" "$DB_NAME" +# ──────────────────────────────────────────────────────────── +# Purge ir_logging (Python logger messages, no business value). +# ──────────────────────────────────────────────────────────── +echo "Purging ir_logging..." +query_postgres_container "TRUNCATE ir_logging;" "$DB_NAME" + # ──────────────────────────────────────────────────────────── # Fix orphan ir_filters pointing to deleted ir_actions #