Skip to content

Commit daebef8

Browse files
added logs
1 parent 9db552f commit daebef8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/sources/docker/docker.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ func (s *Source) Chunks(ctx context.Context, chunksChan chan *sources.Chunk, _ .
201201
// processImage processes an individual image and prepares it for further processing.
202202
// It handles three image source types: remote registry, local daemon, and tarball file.
203203
func (s *Source) processImage(ctx context.Context, image string) (imageInfo, error) {
204+
ctx.Logger().V(5).Info("Processing individual Image")
204205
var (
205206
imgInfo imageInfo
206207
imageName name.Reference
@@ -355,6 +356,8 @@ func (s *Source) processHistoryEntry(ctx context.Context, historyInfo historyEnt
355356
// processLayer processes an individual layer of an image.
356357
// It decompresses the layer and extracts all files for scanning.
357358
func (s *Source) processLayer(ctx context.Context, layer v1.Layer, imgInfo imageInfo, chunksChan chan *sources.Chunk) error {
359+
ctx.Logger().V(5).Info("Processing layer")
360+
358361
layerInfo := layerInfo{
359362
base: imgInfo.base,
360363
tag: imgInfo.tag,

0 commit comments

Comments
 (0)