mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix audit log prefix for public dashboards (#53070)
This commit is contained in:
@@ -25,6 +25,8 @@ type PublicDashboardServiceImpl struct {
|
||||
store publicdashboards.Store
|
||||
}
|
||||
|
||||
var LogPrefix = "publicdashboards.service"
|
||||
|
||||
// Gives us compile time error if the service does not adhere to the contract of
|
||||
// the interface
|
||||
var _ publicdashboards.Service = (*PublicDashboardServiceImpl)(nil)
|
||||
@@ -36,7 +38,7 @@ func ProvideService(
|
||||
store publicdashboards.Store,
|
||||
) *PublicDashboardServiceImpl {
|
||||
return &PublicDashboardServiceImpl{
|
||||
log: log.New("publicdashboards"),
|
||||
log: log.New(LogPrefix),
|
||||
cfg: cfg,
|
||||
store: store,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user