From 3bf2c53d14b6c8234733e82fc5ad1773e45c2b4b Mon Sep 17 00:00:00 2001 From: Mikita Iwanowski Date: Fri, 13 Dec 2024 20:12:45 +0100 Subject: [PATCH] debug log --- providers/os/connection/device/device_connection.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/providers/os/connection/device/device_connection.go b/providers/os/connection/device/device_connection.go index 5ff7c7ac7..8b675d629 100644 --- a/providers/os/connection/device/device_connection.go +++ b/providers/os/connection/device/device_connection.go @@ -220,7 +220,9 @@ func tryDetectAsset(connId uint32, partition *snapshot.PartitionInfo, conf *inve fingerprint, p, err := id.IdentifyPlatform(fsConn, &plugin.ConnectReq{}, p, asset.IdDetector) if err != nil { - log.Debug().Err(err).Msg("device connection> failed to identify platform from device") + log.Debug().Err(err). + Strs("platform-ids", asset.PlatformIds). // debug + Msg("device connection> failed to identify platform from device") return nil, err } log.Debug().Str("scan_dir", partition.MountPoint).Msg("device connection> detected platform from device")