there are 2 ways to do it: redirect console output to file, or copy the content of this window
2018-02-07 03858, 2018
zas
first one is out of question for non-tech users
2018-02-07 03851, 2018
chhavi_
yep, agreed :p
2018-02-07 03856, 2018
zas
the main problem is that the log can be huge, and basically it is hard to find anything in it if you arent used to
2018-02-07 03829, 2018
zas
which is the case of most users
2018-02-07 03850, 2018
zas
so i want to give more tools for the user to locate the issue in this log
2018-02-07 03822, 2018
zas
first thing, colorization by level (info, warning, error, debug)
2018-02-07 03854, 2018
zas
not ideal for color-blind people, so there's a prefix (I:, W:, E:, D:) on each line too
2018-02-07 03858, 2018
HSOWA
i get red error text and dark purple "d" text
2018-02-07 03801, 2018
HSOWA
zas
2018-02-07 03820, 2018
chhavi_
The "verbosity" control, okay.
2018-02-07 03830, 2018
zas
yes, wait, i'll come to new things
2018-02-07 03851, 2018
zas
current state: only checkbox to toggle debug mode, and colorization by level
2018-02-07 03854, 2018
chhavi_
oh okay..sorry. go on :)
2018-02-07 03808, 2018
zas
what you see is the dev version i'm working on
2018-02-07 03839, 2018
zas
so, first, filtering by level: give the possibility to show only errors, or warnings, etc...
2018-02-07 03838, 2018
zas
usually verbosity is : show only info, show info+warning, show info+warning+error, show info+warning+error+debug
2018-02-07 03853, 2018
zas
which means you can't have only errors
2018-02-07 03811, 2018
bukwurm has quit
2018-02-07 03841, 2018
zas
so i went for a menu with 4 checkboxes, with 2 drawbacks: you can uncheck all, and see nothing
2018-02-07 03847, 2018
zas
and it is a bit unusual
2018-02-07 03819, 2018
HSOWA
show an error message "you cnat see logs because no options are checked" maybe?
2018-02-07 03850, 2018
chhavi_
It also closes after you check/uncheck once... so you have to open it again to check/uncheck another item
2018-02-07 03810, 2018
drsaunders joined the channel
2018-02-07 03811, 2018
zas
yup
2018-02-07 03829, 2018
HSOWA
:(
2018-02-07 03851, 2018
chhavi_
If I understand correctly, we need a small control panel-ish thing to filter all the info and help the user pin point the issue?
2018-02-07 03824, 2018
zas
yes
2018-02-07 03839, 2018
zas
the idea is to start from a big log to the issue
2018-02-07 03810, 2018
chhavi_
Which can be used to access all filters easily, highlight, clear logs and export.
2018-02-07 03822, 2018
chhavi_
Also is scalable for features in future?
2018-02-07 03824, 2018
zas
typical case: a user contacts us, explain the issue, we ask him to filter a certain way, and he posts the related log view, instead the whole file
2018-02-07 03813, 2018
zas
yes, scalable somehow, but it isn't the core of the app... so not much
2018-02-07 03836, 2018
zas
let me explain what are "domains"
2018-02-07 03856, 2018
zas
basically there are tags on certain log messages devs add in the code
2018-02-07 03857, 2018
chhavi_
yeah...and what are ws also?
2018-02-07 03812, 2018
HSOWA
this does sound like the webconsol thing in the ff browser. so i think that's a very good idea actually 👍 zas and chhavi, I won't interfere abymore sorry :)
2018-02-07 03814, 2018
zas
ws=web service ;)
2018-02-07 03827, 2018
zas
but that's not meant to be uber explicit
2018-02-07 03844, 2018
zas
because domains are mainly a dev thing
2018-02-07 03806, 2018
zas
the idea is to be able the user to post all lines related to one or more domains
2018-02-07 03847, 2018
zas
for example, if the user have an issue with audio fingerprinting, that's acoustid domain
2018-02-07 03803, 2018
zas
important thing before i continue: we intentionnally reduce the number of debug messages mainly because it would be too verbose for users and therefore even harder for them to sort out any issue
2018-02-07 03822, 2018
zas
but ideally we should be able to "dig" into a domain
2018-02-07 03829, 2018
bukwurm joined the channel
2018-02-07 03837, 2018
zas
this is where verbosity is insufficient
2018-02-07 03811, 2018
zas
debug messages are debug messages from every part, but i may want as much as debug messages for a specific thing
2018-02-07 03818, 2018
zas
and just this one
2018-02-07 03842, 2018
zas
so, the UI sucks atm
2018-02-07 03853, 2018
zas
but the idea is there
2018-02-07 03816, 2018
chhavi_
Aah got your hassle..
2018-02-07 03858, 2018
chhavi_
So we need a ui which lets user do domaim specific "digging" as well
2018-02-07 03803, 2018
zas
also, we could use source file and/or modules, but that's even worse, because what i call "domain" could be exploded over different files or modules, and filtering on modules or files is even less meaningful for end user (or beginner devs)
2018-02-07 03847, 2018
zas
my idea is to be able to reduce the text in the log view to whatever is needed, press save as, and post the result for help
2018-02-07 03839, 2018
zas
also, plugin devs could add their plugin name as domain, so one would be able to see only the messages from this plugin
2018-02-07 03853, 2018
zas
read: the list can the long
2018-02-07 03820, 2018
zas
and it is dynamically created
2018-02-07 03854, 2018
zas
if code related to a new domain generates a new message, its domain is added to the list (if any)
2018-02-07 03804, 2018
zas
its domains (that's a set)
2018-02-07 03831, 2018
zas
domains will not be translated, and will be usually short names
2018-02-07 03824, 2018
chhavi_
With you so far.
2018-02-07 03810, 2018
zas
well, that's all, expecting help on the UI part, because devs suck at UI things (and me, even more)
2018-02-07 03845, 2018
chhavi_
Give me a little time to think /research. Will get back to tonight or tomm morning :)
2018-02-07 03823, 2018
zas
ok, np :) thanks
2018-02-07 03815, 2018
MusicbrainzB0T1 joined the channel
2018-02-07 03848, 2018
MusicbrainzB0T has quit
2018-02-07 03800, 2018
gcilou joined the channel
2018-02-07 03808, 2018
HSOWA
[16:15] <zas> my idea is to be able to reduce the text in the log view to whatever is needed, press save as, and post the result for help any open source type paste bins that we could make the thing automatically plug int to? giving the end user a handy link to post in irc etc. places maybe?
2018-02-07 03823, 2018
jesus2099 joined the channel
2018-02-07 03818, 2018
jesus2099
Hello there, anyone working at murdos/musicbrainz-scripts?
2018-02-07 03832, 2018
jesus2099
bitmap, yvanzo ?
2018-02-07 03837, 2018
HSOWA
no idea
2018-02-07 03838, 2018
zas
HSOWA: yes, i thought about it, but for now i prefer the user to manage this (after all, he does since years)
right now the alias is "plurally violin" which is what we're going way from
2018-02-07 03857, 2018
jesus2099
I am not really knowledgeable… I thoght it was les instruments à cordes
2018-02-07 03808, 2018
jesus2099
but les instruments Ă cordes is much more general
2018-02-07 03813, 2018
bitmap
you can set a variable to any string I believe, so e.g. "#000" or "12px" works
2018-02-07 03814, 2018
HSOWA
tht's probably "string isntruments" no?
2018-02-07 03819, 2018
jesus2099
la famille des violons ? sounds really weird
2018-02-07 03821, 2018
zas
HSOWA: i would say "(classical) strings" = "cordes" in french
2018-02-07 03824, 2018
jesus2099
« les violons »
2018-02-07 03829, 2018
jesus2099
 ?
2018-02-07 03803, 2018
HSOWA
zas: yes. but for "violinfamily" what sort of words would you use? i can add as many aliases as possible so don't be afraid to come with several suggestions