summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Draebing <thomas.draebing@sap.com>2020-08-12 15:55:06 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2020-10-01 23:19:09 +0200
commitdf97caf5c796da733716eb31b0ff78425c294900 (patch)
treeb37e6254d8931ede9b37eb6f22345239aa67dd32
parentf46ba3536260304e552a4ab2c2511934bbffd2b9 (diff)
Register graceful shutdown for set logging level command
-rw-r--r--java/com/google/gerrit/sshd/commands/SetLoggingLevelCommand.java1
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 {