From 62f534d0bb9a3c49cf230282a16057b7ad639a92 Mon Sep 17 00:00:00 2001 From: ErnestaP Date: Mon, 18 Dec 2023 07:24:24 +0000 Subject: [PATCH] Clean up logs: remove error suppressing --- dags/clean/cleanup_logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/clean/cleanup_logs.py b/dags/clean/cleanup_logs.py index a5b96291..e8b4db93 100644 --- a/dags/clean/cleanup_logs.py +++ b/dags/clean/cleanup_logs.py @@ -16,7 +16,7 @@ def cleanup_logs(): task_id="cleanup_logs", bash_command=f""" logs_dir="{logs_dir}" - find "$logs_dir" -type d -mtime +30 -exec rm -r {{}} \; 2>/dev/null + find "$logs_dir" -type d -mtime +30 -exec rm -r {{}} \; """, )