Rendering: add userID in rendering log (#88132)

This commit is contained in:
Agnès Toulet
2024-05-23 09:41:53 +02:00
committed by GitHub
parent 0ffc4c441b
commit 42126398be
+1 -1
View File
@@ -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
}