Enigma2 severe(blocker) bug caused by use off eDebug
Re: Enigma2 severe(blocker) bug caused by use off eDebug #121
Posted 1 April 2016 - 16:07
Are there other places where the eDebug should change to eLog 5 or greater?
Eg. last week I had to change the eDebug in eMainloop::processOneEven to eLog:5, because every time you used the OWIF to get screenshot, the console was flood with messages.
https://github.com/O...9c3edd9a69f7cd9
Why we should go from 100 debug to 0?
I suggest to simply change eDebug to eLog >= 5 where nesessary.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Enigma2 severe(blocker) bug caused by use off eDebug #122
Re: Enigma2 severe(blocker) bug caused by use off eDebug #123
Posted 1 April 2016 - 17:02
It's nice that finally a real brainstorm about the subject is going on now.
fully agree with MiLo comment that a extra enigma2 setting is not required , but then standard level should really by 0 ok actually we can use 3 it's almost same as 0 now.
The debug level must be set before enigma2 binary is started.(a change of it during the start process on it causes also a bug weird but it's like that)
Do not use a py function to check the current debug level setting as only the py function just cause a bug. But since like MiLo tolled a (user e2)setting is not required that function is not also.
My test about this are tremendous but especially on vuduo2 so what a major off weird ad random sand keeper issues are gone. Can I log that no, the duo2 just works perfect when debug is at 0.
But that's a fact.
Indeed for a crash comming out from a error of a function in a .cpp or .c file the resulting now crash log almost never give any useful information.
From out off python unfortunately well but .... just the loging is a cause to bug (and it has nothing to do if You run out off console with enigma2.sh only for example)
For standard user it should be 0 log output then it's ok.
For trace we can do :
ENIGMA_DEBUG_LVL=4 enigma2.sh
Re: Enigma2 severe(blocker) bug caused by use off eDebug #124
Re: Enigma2 severe(blocker) bug caused by use off eDebug #125
Re: Enigma2 severe(blocker) bug caused by use off eDebug #126
Posted 1 April 2016 - 17:29
Why insisting having debug output when noone reads it and if someone is interested reading it can run himself with a different level?
We are making big discussion for no reason. Set default level to 3 instead of 4 in enigma.cpp , anyone who wants to see more info for whatever reason can do it with environment variable.
Even if most problematic area are eDebug inside servicemp3.cpp, using cpu for no reason for everyone (since nobody reads this output) should be avoided. Those eDebugs are usefull in 1 our of 100.000 uses or less, so avoiding by default is the logical way to go.
Re: Enigma2 severe(blocker) bug caused by use off eDebug #127
Posted 1 April 2016 - 17:37
Edited by athoik, 1 April 2016 - 17:37.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Enigma2 severe(blocker) bug caused by use off eDebug #128
Re: Enigma2 severe(blocker) bug caused by use off eDebug #129
Posted 2 April 2016 - 11:37
Why insisting having debug output when noone reads it and if someone is interested reading it can run himself with a different level?
We are making big discussion for no reason. Set default level to 3 instead of 4 in enigma.cpp , anyone who wants to see more info for whatever reason can do it with environment variable.
Even if most problematic area are eDebug inside servicemp3.cpp, using cpu for no reason for everyone (since nobody reads this output) should be avoided. Those eDebugs are usefull in 1 our of 100.000 uses or less, so avoiding by default is the logical way to go.
Setting By default to 3 must be done before enigma2 is launched and has been done now I just saw into enigma2 git. Thanks MiLo
In general eDebug is needed for development and error tracing purposes. But most not be used in normal use .
Activating it by default when console is started ? looked fine but do not think it's I nice idea. One might run the console to check other applications and run them in debug whitout the e2 outputs in console.
But if You wan't .
To have enigma2 running out off console like it does whitout You need to use enigma2.sh (config settings and so are loaded same way then).
To have debug at 4 now we can run:
ENIGMA_DEBUG_LVL=4 enigma2.sh
But if wanted someone could just made a script enigma2debug.sh to make life easier . for testers developpers.
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users