logging: tag with app
This commit is contained in:
parent
78d0af12cc
commit
0583c66d96
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -36,7 +36,7 @@ func main() {
|
|||
|
||||
flag.Parse()
|
||||
|
||||
log := log15.New()
|
||||
log := log15.New("app", "cycore-web")
|
||||
if os.Getenv("KUBERNETES_SERVICE_HOST") != "" {
|
||||
h, err := log15.NetHandler("tcp", "oklog.log", log15.JsonFormat())
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue