summaryrefslogtreecommitdiffstats
path: root/cmd/keys.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/keys.go')
-rw-r--r--cmd/keys.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/keys.go b/cmd/keys.go
index deb94fca5d..8aeee37527 100644
--- a/cmd/keys.go
+++ b/cmd/keys.go
@@ -8,6 +8,7 @@ import (
"fmt"
"strings"
+ "code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/private"
"github.com/urfave/cli"
@@ -17,6 +18,7 @@ import (
var CmdKeys = cli.Command{
Name: "keys",
Usage: "This command queries the Gitea database to get the authorized command for a given ssh key fingerprint",
+ Before: PrepareConsoleLoggerLevel(log.FATAL),
Action: runKeys,
Flags: []cli.Flag{
cli.StringFlag{