Closed martinetd closed 6 months ago
(By the way some of these "ERROR" messages aren't actually errors as far as syft is concerned (only skipped files/symlinks) so it'd actually be nice to have a way not to print them at all (perhaps as a debug toggle?), but for now just new lines would be a great improvement)
Hm, sorry go's Errorf does add a new line doesn't it. It looks like the logs just interact badly with syft's "pretty" output, as running in quiet mode lists errors correctly.
Closing this, sorry for the noise. If I find time I might eventually open something else to be optionally less verbose about some type of errors, but that'll have to wait.
When extracting a large archive with many ignored errors through syft the errors do not go to the next line which is hard to read.
Add trailing new line.
(cc @wagoodman for heads up as this is mostly for syft -- assuming it'll get in eventually after merging here anyway but might as well be aware)