diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2020-03-11 05:23:26 +0000 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2020-03-11 05:23:26 +0000 |
commit | e3a6281cb0a5135e9947b80a063bf6454f4e3f0a (patch) | |
tree | 5b327b7f90ea94b39d541c24f09bf316424c5760 /cmd/gitlab-shell/main.go | |
parent | b920520599142435ce06ad155099544adc923618 (diff) | |
parent | 70c1b494b81f0035b71e47a65a70a8b86a2c8427 (diff) | |
download | gitlab-shell-e3a6281cb0a5135e9947b80a063bf6454f4e3f0a.tar.gz |
Merge branch 'sh-log-http-requests' into 'master'
Log internal HTTP requests
See merge request gitlab-org/gitlab-shell!366
Diffstat (limited to 'cmd/gitlab-shell/main.go')
-rw-r--r-- | cmd/gitlab-shell/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/gitlab-shell/main.go b/cmd/gitlab-shell/main.go index 7751e4d..8df781c 100644 --- a/cmd/gitlab-shell/main.go +++ b/cmd/gitlab-shell/main.go @@ -9,6 +9,7 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/internal/config" "gitlab.com/gitlab-org/gitlab-shell/internal/console" "gitlab.com/gitlab-org/gitlab-shell/internal/executable" + "gitlab.com/gitlab-org/gitlab-shell/internal/logger" ) func main() { @@ -30,6 +31,8 @@ func main() { os.Exit(1) } + logger.Configure(config) + cmd, err := command.New(executable, os.Args[1:], config, readWriter) if err != nil { // For now this could happen if `SSH_CONNECTION` is not set on |