Skip to content
Permalink
Browse files

add os/arch to debug logs to aid in support

  • Loading branch information...
tj committed Mar 1, 2018
1 parent c968104 commit 6d6e46e244cd857188352f7bf47b00f229eed8ce
Showing with 2 additions and 1 deletion.
  1. +2 −1 internal/cli/root/root.go
@@ -2,6 +2,7 @@ package root

import (
"os"
"runtime"

"github.com/apex/log"
"github.com/apex/log/handlers/cli"
@@ -47,7 +48,7 @@ func init() {
if *verbose {
log.SetHandler(delta.Default)
log.SetLevel(log.DebugLevel)
log.Debugf("up version %s", Cmd.GetVersion())
log.Debugf("up version %s (os: %s, arch: %s)", Cmd.GetVersion(), runtime.GOOS, runtime.GOARCH)
}

Init = func() (*up.Config, *up.Project, error) {

0 comments on commit 6d6e46e

Please sign in to comment.
You can’t perform that action at this time.