diff --git a/binary/proto/proto.go b/binary/proto/proto.go index 0066d2f7..7568afc0 100644 --- a/binary/proto/proto.go +++ b/binary/proto/proto.go @@ -27,6 +27,7 @@ import ( "google.golang.org/protobuf/proto" "github.com/google/osv-scalibr/converter" "github.com/google/osv-scalibr/detector" + "github.com/google/osv-scalibr/log" "github.com/google/osv-scalibr/extractor" "github.com/google/osv-scalibr/extractor/language/java/archive" @@ -118,6 +119,8 @@ func write(filePath string, outputProto proto.Message, ft *fileType) error { } } + log.Infof("Marshaled result proto has %d bytes", len(p)) + f, err := os.Create(filePath) if err != nil { return err