1 |
On 2021-09-28, Ulrich Mueller wrote: |
2 |
> >>>>> On Tue, 28 Sep 2021, Michał Górny wrote: |
3 |
> > On Tue, 2021-09-28 at 18:26 +0200, Ulrich Mueller wrote: |
4 |
> >> Markers: (--) probed, (**) from config file, (==) default |
5 |
> >> setting, |
6 |
> >> (++) from command line, (!!) notice, (II) informational, |
7 |
> >> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. |
8 |
> >> |
9 |
> >> So, maybe change einfo from [--] to [II]? |
10 |
> |
11 |
> > Nah, the whole point is to avoid letters since it's not very |
12 |
> > important. |
13 |
> > Alternatively to '[--]' I could make it look down '[..]' or maybe even |
14 |
> > without eyes entirely '[ ]'. |
15 |
> |
16 |
> Yeah, anything but [--]. The version with the dots is nice. |
17 |
|
18 |
I think any change from only-color would be an improvement; mgorny's |
19 |
first version looks nice. |
20 |
|
21 |
I can see why symmetry with Xorg EE, WW, etc. has an appeal but also the |
22 |
downsides of a) since things don't actually line up 1:1 it could be |
23 |
misleading to try; b) it's also somewhat language-biased. |
24 |
|
25 |
Something a lot of tools have started doing is [?] prefixes to their |
26 |
output; I don't know if there's even a semi-formal spec on it, but what |
27 |
seems to me to map well would be: |
28 |
|
29 |
[!] fatal error (die / eerror?) |
30 |
[*] important but nonfatal (ewarn?) |
31 |
[+] info, maybe memorable, but not harmful (elog?) |
32 |
[.] status/verbose message (einfo?) |
33 |
|
34 |
Could double that if preserving a 4-char-wide tag is preferred. |
35 |
|
36 |
That doesn't cover all needed, like eqawarn, but there are more to |
37 |
choose from. |
38 |
|
39 |
It's unfortunate that many of these are regex metacharacters, making |
40 |
slightly more (human) overhead when grepping, but we already have that |
41 |
with the [] delimeters. |
42 |
|
43 |
> > or maybe even without eyes entirely '[ ]'. |
44 |
|
45 |
For no reason I can articulate, the empty one bugs me. I would get over |
46 |
it though ;) |
47 |
|
48 |
Thanks, |
49 |
|
50 |
-- |
51 |
|
52 |
Hank Leininger <hlein@×××××××××.com> |
53 |
9606 3BF9 B593 4CBC E31A A384 6200 F6E3 781E 3DD7 |