Skip to content

Commit

Permalink
Use logrus logger in ecr-credential-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
SoManyHs committed Nov 19, 2018
1 parent ea4a94c commit 52300fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
6 changes: 2 additions & 4 deletions ecs-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ import (
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/license"
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/log"
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/regcreds"
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/utils/logger"
logger "github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config"
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/version"
"github.com/cihub/seelog"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
)

func main() {
// Setup seelog for amazon-ecr-credential-helper
// Setup logrus for amazon-ecr-credential-helper
logger.SetupLogger()
defer seelog.Flush()

app := cli.NewApp()
app.Name = version.AppName
Expand Down
33 changes: 0 additions & 33 deletions ecs-cli/modules/utils/logger/logger.go

This file was deleted.

0 comments on commit 52300fe

Please sign in to comment.