View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|12970||Bug reports||[All Projects] Other||public||2017-11-27 16:45||2018-01-15 10:39|
|Target Version||3.0.x||Fixed in Version||3.0.0-rc.x|
|Summary||12970: Too much noise in browser console.|
|Description||Should be removed. Or better: Make a proper front-end logger with categories, levels, etc. It's hard to debug right now because of the noise.|
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||latest dev|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||-|
|Operating System (Server)||-|
|Webserver software & version||-|
|that's not a bug report, please use the project "Development" or "Feature Request"|
|Well, it is an "issue" because it makes debugging hard due to the noise in browser console.|
I 100% agree there is way too much noise on the console.
So you could open a bug called: "Too much noise in the console"
|Updated this issue.|
@markusfluer: please, don't brutally turn off all console logs when debug mode is off. Remember that many user who will report problems can't access file system and Debug state.
So we still want errors and warning to appears on the console. But only the relevant things.
How to discern a really important thing from a not so important?
IMHO we should add a basic script, that does give an interface to the logging functionalities.
With failsafe for older or incompatible browsers, but this should be used by everyone then.
I've build a prototype of it into the adminpanel, the logging mechanics used there could be bound to the global scope, creating a global $log object with methods log, warn, error and debug.
We could also add grouping to it.
But I would need all of you on board, because this is of no use if it isn't used.
Also it would take time to implement it everywhere and discern the important errors, from unimportant debug statements.
This could be done gradually, though.
Not important: everything works as wanted (Default template freshly installed), and the console is still full of noise
Important: something break JS, so nothing is loaded anymore, we need an error or something.
|Partly fixed with 12956|
|To finall yremove all traces we need to get rid of jqueryui since it is in a severly outdated state.|
|Added a global setting to define the level of js logging|
|Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=25521|
|Version 3.0.3 released.|
LimeSurvey: develop 69e354f4
2017-12-15 10:56:49Details Diff
|Fixed issue 12970: Too much noise in browser console.|
|mod - assets/packages/adminpanel/build/lsadminpanel.js||Diff File|
|mod - assets/packages/adminpanel/build/lsadminpanel.js.map||Diff File|
|mod - assets/packages/adminpanel/build/lsadminpanel.min.js||Diff File|
|mod - assets/packages/adminpanel/src/mixins/logSystem.js||Diff File|
|mod - assets/packages/lslog/build/lslog.js||Diff File|
|mod - assets/packages/lslog/build/lslog.min.js||Diff File|
|mod - assets/packages/lslog/src/lslog.js||Diff File|
|mod - themes/survey/vanilla/options/options.js||Diff File|
|mod - themes/survey/vanilla/scripts/ajaxify.js||Diff File|
|mod - themes/survey/vanilla/scripts/theme.js||Diff File|
|2017-11-27 16:45||olle||New Issue|
|2017-11-28 10:32||LouisGac||Note Added: 45167|
|2017-11-28 10:32||LouisGac||Assigned To||=> LouisGac|
|2017-11-28 10:32||LouisGac||Status||new => closed|
|2017-11-28 10:32||LouisGac||Resolution||open => no change required|
|2017-11-28 10:40||olle||Note Added: 45170|
|2017-11-28 10:49||LouisGac||Note Added: 45171|
|2017-11-28 10:55||olle||Status||closed => new|
|2017-11-28 10:55||olle||Resolution||no change required => reopened|
|2017-11-28 10:55||olle||Summary||Implement a proper front-end logger => Too much noise in browser console.|
|2017-11-28 10:55||olle||Description Updated||View Revisions|
|2017-11-28 10:55||olle||Note Added: 45172|
|2017-11-28 10:58||LouisGac||Assigned To||LouisGac => markusfluer|
|2017-11-28 10:58||LouisGac||Note Added: 45173|
|2017-11-28 11:07||markusfluer||Note Added: 45174|
|2017-11-28 11:10||LouisGac||Note Added: 45175|
|2017-11-28 16:50||markusfluer||Relationship added||duplicate of 12956|
|2017-11-28 16:51||markusfluer||Relationship deleted||12956|
|2017-11-28 16:51||markusfluer||Note Added: 45178|
|2017-11-28 16:51||markusfluer||Relationship added||related to 12956|
|2017-11-28 16:52||markusfluer||Note Added: 45179|
|2017-12-15 10:35||markusfluer||Status||new => resolved|
|2017-12-15 10:35||markusfluer||Fixed in Version||=> 3.0.0-rc.x|
|2017-12-15 10:35||markusfluer||Note Added: 45300|
|2017-12-15 10:57||markusfluer||Changeset attached||=> LimeSurvey develop 69e354f4|
|2017-12-15 10:57||markusfluer||Note Added: 45301|
|2018-01-15 10:39||c_schmitz||Note Added: 45701|
|2018-01-15 10:39||c_schmitz||Status||resolved => closed|