print service and policy for rouge services

This commit is contained in:
Fredrik Eriksson 2024-12-20 14:20:07 +01:00
parent f1ded26b9f
commit 17fc601022
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -177,7 +177,7 @@ def restart_services():
if get_deleted_open_files(proc): if get_deleted_open_files(proc):
service = services[proc_name] service = services[proc_name]
policy = _get_service_restart_policy(service) 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 recommend_restart = True
return recommend_restart return recommend_restart