there are 2 ways to do it: redirect console output to file, or copy the content of this window
first one is out of question for non-tech users
chhavi_
yep, agreed :p
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
which is the case of most users
so i want to give more tools for the user to locate the issue in this log
first thing, colorization by level (info, warning, error, debug)
not ideal for color-blind people, so there's a prefix (I:, W:, E:, D:) on each line too
HSOWA
i get red error text and dark purple "d" text
zas
chhavi_
The "verbosity" control, okay.
zas
yes, wait, i'll come to new things
current state: only checkbox to toggle debug mode, and colorization by level
chhavi_
oh okay..sorry. go on :)
zas
what you see is the dev version i'm working on
so, first, filtering by level: give the possibility to show only errors, or warnings, etc...
usually verbosity is : show only info, show info+warning, show info+warning+error, show info+warning+error+debug
which means you can't have only errors
bukwurm has quit
so i went for a menu with 4 checkboxes, with 2 drawbacks: you can uncheck all, and see nothing
and it is a bit unusual
HSOWA
show an error message "you cnat see logs because no options are checked" maybe?
chhavi_
It also closes after you check/uncheck once... so you have to open it again to check/uncheck another item
drsaunders joined the channel
zas
yup
HSOWA
:(
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?
zas
yes
the idea is to start from a big log to the issue
chhavi_
Which can be used to access all filters easily, highlight, clear logs and export.
Also is scalable for features in future?
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
yes, scalable somehow, but it isn't the core of the app... so not much
let me explain what are "domains"
basically there are tags on certain log messages devs add in the code
chhavi_
yeah...and what are ws also?
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 :)
zas
ws=web service ;)
but that's not meant to be uber explicit
because domains are mainly a dev thing
the idea is to be able the user to post all lines related to one or more domains
for example, if the user have an issue with audio fingerprinting, that's acoustid domain
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
but ideally we should be able to "dig" into a domain
bukwurm joined the channel
this is where verbosity is insufficient
debug messages are debug messages from every part, but i may want as much as debug messages for a specific thing
and just this one
so, the UI sucks atm
but the idea is there
chhavi_
Aah got your hassle..
So we need a ui which lets user do domaim specific "digging" as well
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)
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
also, plugin devs could add their plugin name as domain, so one would be able to see only the messages from this plugin
read: the list can the long
and it is dynamically created
if code related to a new domain generates a new message, its domain is added to the list (if any)
its domains (that's a set)
domains will not be translated, and will be usually short names
chhavi_
With you so far.
zas
well, that's all, expecting help on the UI part, because devs suck at UI things (and me, even more)
chhavi_
Give me a little time to think /research. Will get back to tonight or tomm morning :)
zas
ok, np :) thanks
MusicbrainzB0T1 joined the channel
MusicbrainzB0T has quit
gcilou joined the channel
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?
jesus2099 joined the channel
jesus2099
Hello there, anyone working at murdos/musicbrainz-scripts?
bitmap, yvanzo ?
HSOWA
no idea
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
jesus2099
I am not really knowledgeable… I thoght it was les instruments à cordes
but les instruments Ă cordes is much more general
bitmap
you can set a variable to any string I believe, so e.g. "#000" or "12px" works
HSOWA
tht's probably "string isntruments" no?
jesus2099
la famille des violons ? sounds really weird
zas
HSOWA: i would say "(classical) strings" = "cordes" in french
jesus2099
« les violons »
 ?
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