mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
* use plugin ID in logger name
* retrigger
(cherry picked from commit bd0ff79e28
)
This commit is contained in:
parent
51cd6f3cc5
commit
a2b391912a
@ -4,6 +4,7 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"net/url"
|
||||
"os"
|
||||
"path"
|
||||
@ -240,7 +241,7 @@ func createPluginBase(pluginJSON plugins.JSONData, class plugins.Class, pluginDi
|
||||
Class: class,
|
||||
}
|
||||
|
||||
plugin.SetLogger(logger.New("pluginID", plugin.ID))
|
||||
plugin.SetLogger(log.New(fmt.Sprintf("plugin.%s", plugin.ID)))
|
||||
setImages(plugin)
|
||||
|
||||
return plugin
|
||||
|
Loading…
Reference in New Issue
Block a user