update deps; switch to goutils syslog.
This commit is contained in:
@@ -7,9 +7,9 @@ go_library(
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//config",
|
||||
"//log",
|
||||
"//server",
|
||||
"@com_github_peterbourgon_ff_v3//ffcli",
|
||||
"@dev_wntrmute_git_kyle_goutils//syslog",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
log "git.wntrmute.dev/kyle/goutils/syslog"
|
||||
"git.wntrmute.dev/kyle/kdhcp/config"
|
||||
"git.wntrmute.dev/kyle/kdhcp/log"
|
||||
"git.wntrmute.dev/kyle/kdhcp/server"
|
||||
"github.com/peterbourgon/ff/v3/ffcli"
|
||||
)
|
||||
@@ -21,7 +21,7 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
logLevel = strings.ToUpper(logLevel)
|
||||
log.Setup(logLevel, "kdhcpd")
|
||||
log.Setup(log.DefaultDebugOptions("kdhcpd", false))
|
||||
|
||||
root := &ffcli.Command{
|
||||
Exec: func(ctx context.Context, args []string) error {
|
||||
|
||||
Reference in New Issue
Block a user