diff options
author | listout <listout@protonmail.com> | 2021-05-26 16:27:08 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2021-05-26 16:27:08 +0530 |
commit | 882b92585463e61619c71bc21e67f46e5af74234 (patch) | |
tree | 80067c681c757e30a8ca63625816ee425683bba9 | |
parent | 89ee6e4dad7be84a013bb5efab3a5f60299ace28 (diff) | |
download | gitlab-shell-882b92585463e61619c71bc21e67f46e5af74234.tar.gz |
changed filename extension to .log as json can operate on .log file
-rw-r--r-- | config.yml.example | 2 | ||||
-rw-r--r-- | internal/config/config.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.yml.example b/config.yml.example index 8be2f97..45e96cc 100644 --- a/config.yml.example +++ b/config.yml.example @@ -45,7 +45,7 @@ auth_file: "/home/git/.ssh/authorized_keys" # Log file. # Default is gitlab-shell.json in the root directory. -# log_file: "/home/git/gitlab-shell/gitlab-shell.json" +# log_file: "/home/git/gitlab-shell/gitlab-shell.log" # Log level. INFO by default log_level: INFO diff --git a/internal/config/config.go b/internal/config/config.go index ca5c726..8392d78 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -57,7 +57,7 @@ type Config struct { // The defaults to apply before parsing the config file(s). var ( DefaultConfig = Config{ - LogFile: "gitlab-shell.json", + LogFile: "gitlab-shell.log", LogFormat: "json", Server: DefaultServerConfig, User: "git", |