Fixes garbage in e2e logging on CI (#1879)

This commit is contained in:
Alex Collins 2019-07-03 14:37:41 -07:00 committed by GitHub
parent 4296a87e6b
commit 8665997d89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,8 +70,6 @@ func getKubeConfig(configPath string, overrides clientcmd.ConfigOverrides) *rest
// creates e2e tests fixture: ensures that Application CRD is installed, creates temporal namespace, starts repo and api server,
// configure currently available cluster.
func init() {
// this enables colors and disables full timestamps
log.SetFormatter(&log.TextFormatter{ForceColors: true})
// ensure we log all shell execs
log.SetLevel(log.DebugLevel)
// set-up variables