diff options
author | Thomas Draebing <thomas.draebing@sap.com> | 2020-08-12 15:55:06 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-10-01 23:19:09 +0200 |
commit | df97caf5c796da733716eb31b0ff78425c294900 (patch) | |
tree | b37e6254d8931ede9b37eb6f22345239aa67dd32 | |
parent | f46ba3536260304e552a4ab2c2511934bbffd2b9 (diff) |
Register graceful shutdown for set logging level command
Change-Id: I6017221ba6549f2d792f26f8fef409eac40fcd2e
-rw-r--r-- | java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java b/java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java index cfdd73562c..3faf5989a4 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 { |