Doron Fediuck has submitted this change and it was merged.
Change subject: engine: different log message for graceful shutdown
......................................................................
engine: different log message for graceful shutdown
Modifies the notifier service to write a different logmessage if the
engine service was shut down by administrator by checking if the pid
file exists. If the pid file exists, the engine crashed, the proper
shutdown script removes the pid file. The availability of the engine
will be logged in any way, the logic only decides the message and the
level.
Change-Id: I409f335fd98959aab4bc1633191a853777b050fa
Signed-off-by: Laszlo Hornyak <lhornyak(a)redhat.com>
---
M
backend/manager/tools/engine-notifier/engine-notifier-service/src/main/java/org/ovirt/engine/core/notifier/EngineMonitorService.java
M
backend/manager/tools/engine-notifier/engine-notifier-service/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
2 files changed, 34 insertions(+), 8 deletions(-)
Approvals:
Doron Fediuck: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10875
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I409f335fd98959aab4bc1633191a853777b050fa
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak(a)redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>