commit df97caf5c796da733716eb31b0ff78425c294900 Author: Thomas Draebing Date: Wed Aug 12 15:55:06 2020 +0200 Register graceful shutdown for set logging level command Change-Id: I6017221ba6549f2d792f26f8fef409eac40fcd2e diff --git a/java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java b/java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java index cfdd735..3faf598 100644 --- a/java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java +++ b/java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java @@ -61,6 +61,7 @@ public class SetLoggingLevelCommand extends SshCommand { @SuppressWarnings("unchecked") @Override protected void run() throws MalformedURLException { + enableGracefulStop(); if (level == LevelOption.RESET) { reset(); } else {