Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need coaching with emerge failure logs (Understanting the problem)
Date: Mon, 27 Feb 2017 08:51:03
Message-Id: 20170227085045.20fa756b@digimed.co.uk
In Reply to: Re: [gentoo-user] Need coaching with emerge failure logs (Understanting the problem) by Thomas Mueller
1 On Mon, 27 Feb 2017 07:31:22 +0000, Thomas Mueller wrote:
2
3 > > On Sat, 25 Feb 2017 21:58:05 +0100, Miroslav Rovis wrote:
4 >
5 > > > On 170225-09:19-0500, Harry Putnam wrote:
6 > > > > Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit)
7 > > > > host Hardware: HP xw8600 - 2x Xeon CPU X5450 @ 3.00GHz - 32 GB
8 > > > > ram
9 >
10 > > > [ some cca. 80k text cut here ]
11 >
12 > > > Go for the guides, in which you will find that sending 5.5M log in
13 > > > an email is plain wrong.
14 >
15 > > On this list, it is preferred to attach logs rather than post them
16 > > elsewhere with a link. That way all the information stays together.
17 >
18 > > However, as Stroller mentioned, the escape codes make a bit of a mess.
19 > > Logs this large could be gzipped before attaching.
20
21 > A 5.5M log is too much for most people, myself included, to read.
22
23 Reading it is a separate issue from how you provide it, but this
24 particular log was unusually large.
25
26 > Gzipping has two disadvantages: can not be read directly, one being
27 > that the attachment must be extracted to a separate file for reading
28 > outside the mail client.
29
30 The same is true of providing a link to a file stored elsewhere.
31
32 > Other downside is that a gzipped file must then be base64-encoded for
33 > email. Base64 encoding multiplies the attachment size by 4/3
34 > (four-thirds), negating most of the reason for gzipping.
35
36 In the case of logfiles, you can often achieve 90% compression, so it is
37 one of the few cases where this does still save a lot of space. But the
38 real solution here would be to strip the escape codes first as they add a
39 lot of bloat and make the logs more difficult to read.
40
41 It's all about making the information as accessible as possible, if you
42 put barriers in the way of reading it, people won't bother, including
43 some that know the answer.
44
45
46 --
47 Neil Bothwick
48
49 What did the first man to discover you can get milk from cows think he
50 was doing? - anon.