Sometimes it is helpful to see that kind of logging when you run on CI and you are troubleshooting why the build is slow. In that case it would be useful to log only in the case that the download took more than X seconds or the speed was too low (then it would become debatable the default values for the thresholds...)
my 2 cents Enrico Il giorno lun 20 feb 2023 alle ore 15:46 Christoph Läubrich <m...@laeubi-soft.de> ha scritto: > > Well you can just reduce it to a single '.' who cares WHAT is download > and where it is placed and from where... now put a line break after say > 50 dots > > > Am 20.02.23 um 15:42 schrieb Tamás Cservenák: > > Howdy, > > > > completely agree, the default could be something along those lines: > > > > [DL] central > > https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.pom > > > > So something like > > [DL|UP] $repoId $artifactUrl > > > > Full URL is handy as one can click on it in Terminal.app. But > > redundant "Downloaded" is not. Maybe go for some emoji even? (arrow > > down/arrow up?) > > > > T > > > > On Mon, Feb 20, 2023 at 3:34 PM Elliotte Rusty Harold <elh...@ibiblio.org> > > wrote: > > > >> Typical log message in build: > >> > >> Downloaded from central: > >> > >> https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.pom > >> (14 kB at 776 kB/s) > >> > >> I have never, ever needed or wanted to know how fast a single artifact > >> was downloaded. And in the extremely unlikely event I cared how big > >> it was, I'd look in .m2/repo, not a build log. Can we remove (14 kB at > >> 776 kB/s)? > >> > >> Maven log files today are often multiple megabytes. Many continuous > >> integration Web UIs truncate them to a 1 MB or so. Any unread info we > >> can remove to bring the size down is helpful, and also makes it much > >> easier for devs to find the lines they actually care about. > >> > >> -- > >> Elliotte Rusty Harold > >> elh...@ibiblio.org > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > >> For additional commands, e-mail: dev-h...@maven.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org