mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
Rendering: add userID in rendering log (#88132)
This commit is contained in:
@@ -307,7 +307,7 @@ func (rs *RenderingService) render(ctx context.Context, renderType RenderType, o
|
||||
}
|
||||
}
|
||||
|
||||
rs.log.Info("Rendering", "path", opts.Path)
|
||||
rs.log.Info("Rendering", "path", opts.Path, "userID", opts.AuthOpts.UserID)
|
||||
if math.IsInf(opts.DeviceScaleFactor, 0) || math.IsNaN(opts.DeviceScaleFactor) || opts.DeviceScaleFactor == 0 {
|
||||
opts.DeviceScaleFactor = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user