summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlistout <listout@protonmail.com>2021-05-24 21:02:16 +0530
committerlistout <listout@protonmail.com>2021-05-24 21:02:16 +0530
commit89ee6e4dad7be84a013bb5efab3a5f60299ace28 (patch)
tree8854f501258d70414beea2b1bf85a52a3c4faaf3
parente86aadae72a7f0b17f52ed7f3bdd98670eca0a84 (diff)
downloadgitlab-shell-89ee6e4dad7be84a013bb5efab3a5f60299ace28.tar.gz
default log format changed to json, making it reflect in example config
-rw-r--r--config.yml.example10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.yml.example b/config.yml.example
index 1dc2c5e..8be2f97 100644
--- a/config.yml.example
+++ b/config.yml.example
@@ -44,14 +44,14 @@ auth_file: "/home/git/.ssh/authorized_keys"
# secret: "supersecret"
# Log file.
-# Default is gitlab-shell.log in the root directory.
-# log_file: "/home/git/gitlab-shell/gitlab-shell.log"
+# Default is gitlab-shell.json in the root directory.
+# log_file: "/home/git/gitlab-shell/gitlab-shell.json"
# Log level. INFO by default
log_level: INFO
-# Log format. 'text' by default
-# log_format: json
+# Log format. 'json' by default
+# log_format: text
# Audit usernames.
# Set to true to see real usernames in the logs instead of key ids, which is easier to follow, but
@@ -73,7 +73,7 @@ sshd:
web_listen: "localhost:9122"
# Maximum number of concurrent sessions allowed on a single SSH connection. Defaults to 10.
concurrent_sessions_limit: 10
- # SSH host key files.
+ # SSH host key files.
host_key_files:
- /run/secrets/ssh-hostkeys/ssh_host_rsa_key
- /run/secrets/ssh-hostkeys/ssh_host_ecdsa_key