From 8fae94c736a1bcfc3757e0c484af54c6a24cba12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Mon, 9 Aug 2021 16:40:45 +0200 Subject: [PATCH] systemd: Enclose status description inside quotes ... in the log message. (cherry picked from commit 5a96d18aa2e9b84bde3d35abdbdc52caae3f4e99) --- .../apps/rabbitmq_prelaunch/src/rabbit_boot_state_systemd.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_boot_state_systemd.erl b/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_boot_state_systemd.erl index 4a031ceacc13..40cd1ec80418 100644 --- a/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_boot_state_systemd.erl +++ b/deps/rabbit/apps/rabbitmq_prelaunch/src/rabbit_boot_state_systemd.erl @@ -55,7 +55,8 @@ notify_boot_state(ready = BootState) -> notify_boot_state(BootState) -> Status = boot_state_to_desc(BootState), ?LOG_DEBUG( - ?LOG_PREFIX "sending non-systemd state (~s) as status description: ~s", + ?LOG_PREFIX "sending non-systemd state (~s) as status description: " + "\"~s\"", [BootState, Status], #{domain => ?RMQLOG_DOMAIN_PRELAUNCH}), systemd:notify({status, Status}).