From 17fc601022dda4f56ffa41101bcf1fd9b036a037 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Fri, 20 Dec 2024 14:20:07 +0100 Subject: [PATCH] print service and policy for rouge services --- sau/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sau/services.py b/sau/services.py index 0094921..28e3007 100644 --- a/sau/services.py +++ b/sau/services.py @@ -177,7 +177,7 @@ def restart_services(): if get_deleted_open_files(proc): service = services[proc_name] policy = _get_service_restart_policy(service) - log.warning(f'{proc} still has deleted files open') + log.warning(f'{proc} (service {service} with policy {policy}) still has deleted files open') recommend_restart = True return recommend_restart