Get rid of logrus, it's TTY output is not friendly or human parseable if we will want users to send us logs.

This commit is contained in:
Eugene Bujak
2018-12-29 14:55:35 +03:00
parent a7e0f66492
commit 55a7ff7447
7 changed files with 9 additions and 13 deletions

4
app.go
View File

@@ -3,6 +3,7 @@ package main
import (
"bufio"
"fmt"
"log"
"net"
"net/http"
"os"
@@ -13,7 +14,6 @@ import (
"time"
"github.com/gobuffalo/packr"
log "github.com/sirupsen/logrus"
"golang.org/x/crypto/ssh/terminal"
)
@@ -64,7 +64,7 @@ func main() {
}
bindPort = &v
}, nil},
{"verbose", "v", "enable verbose output", nil, func() { log.SetLevel(log.TraceLevel) }},
// {"verbose", "v", "enable verbose output", nil, func() { log.SetLevel(log.TraceLevel) }},
{"help", "h", "print this help", nil, func() { printHelp(); os.Exit(64) }},
}
printHelp = func() {