[Buildroot] [PATCH RFC] core: enable per-package log files
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Oct 18 09:10:41 UTC 2017
Hello,
On Wed, 18 Oct 2017 11:05:10 +0200, Anisse Astier wrote:
> But as I said, there should be a top logfile by default, removing the
> need for tee.
I'm not sure how this solves the problem. Indeed, even if we have a
logfile by default, it will be done using "| tee" so that stdout has
all the messages, and the logfile as well.
But I am not sure we want to log everything by default. I find it
somewhat neat that Buildroot doesn't enforce a logging strategy. Some
users prefer to redirect everything, some users prefer a "| tee" thing.
Some users prefer the log to be appended after the existing log, some
users prefer to truncate and replace the existing log.
So, if we're going the -Orecurse route, I'd prefer to not change our
logging strategy, i.e not log anything by default, and leave it up to
the user.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list