1
0
Fork 0

Improve acme logs.

This commit is contained in:
Ludovic Fernandez 2019-07-22 10:16:04 +02:00 committed by Traefiker Bot
parent 75c99a0491
commit 28500989bc
2 changed files with 7 additions and 8 deletions

View file

@ -42,7 +42,7 @@ func (p *Provider) Append(router *mux.Router) {
Handler(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
vars := mux.Vars(req)
ctx := log.With(context.Background(), log.Str(log.ProviderName, "acme"))
ctx := log.With(context.Background(), log.Str(log.ProviderName, p.ResolverName+".acme"))
logger := log.FromContext(ctx)
if token, ok := vars["token"]; ok {