Do you want to make maven output only SUCCESS or FAILURE? All default info
logs are close to these download logs in practise.

I think they are helpful, can agree with you on "not always" but having to
debug each time is worse than having to debug once from time to time so the
trade off is not bad.

That said while "enable-able" I agree it is ok but your reasoning is to
drop all logs and just use the exit status...not sure it is user friendly
at all.

Maven is like any software, it should communicate what it does to the user
without requiring all users to know the codebase IMHO so maybe just writing
an extension autoconfiguring the logs to what fits you and be it?

Anyway moving to a logger download logs really looks required whatever is
done and the interactive output can also help for human interactions.

Le lun. 20 févr. 2023 à 22:06, Elliotte Rusty Harold <[email protected]> a
écrit :

> On Mon, Feb 20, 2023 at 8:19 PM Romain Manni-Bucau
> <[email protected]> wrote:
>
> >
> > ....except that if you dont have it when you need (default) you have no
> > solution
>
> In my experience, about half the time when I do need a log message it
> still isn't there. I have to use a debugger, packet inspection, or
> some other technique to figure out what's going on. Programmers are
> very, very bad at predicting which log messages are likely to be
> useful. Even if it is present, it probably won't tell me most of what
> I need to know to understand and fix the problem. Log messages are not
> that helpful in practice.
>
> The reality is devs don't need almost all log messages almost all of
> the time. In those circumstances the sensible thing to do is to turn
> them off by default and require extra steps to turn them on for the
> 0.0001% of the cases when it might be helpful.
>
> --
> Elliotte Rusty Harold
> [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to