logging: tag with app

This commit is contained in:
Seán C McCord 2018-05-18 17:28:42 -04:00
parent 78d0af12cc
commit 0583c66d96

View file

@ -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 {