How to hide "missing appearance" browser warnings

Answered
0
0

Hi!
Some advice to hide browser warnings like attached image.
Actually using 1.4.54 and default theme (no custom theme)
Thanks in advance!

Attachment
  • You must to post comments
Best Answer
0
0

You can unregister the native (which is the browser’s console) logger altogether in Wisej.onLoad() in your main html page.

<script>

Wisej.onLoad = function() {

qx.log.Logger.unregister(qx.log.appender.Native);

}

</script>

This will disable all logging to the native console. You may also register a custom logger in the same way.

http://www.qooxdoo.org/current/api/#qx.log.appender

 

 

  • You must to post comments
0
0

So – for performance improvements and security reasons, is it advisable to disable the console outputs with the method suggested ?

At least on Production systems anyway.

  • Luca (ITG)
    Actually yes, it’s a good speed improvement. In fact the next release of Wisej will automatically dispose the loggers when debug is set to false either in web.config or default.json.
  • edmond girardi
    Perfect! I like to squeeze everything not necessary out of my code to improve efficiency and speed. Save the processing time for when its really needed.
  • You must to post comments
0
0

I mean, how to disable similar qooxdoo warnings, some way or config to disable or comment console.warn related with “qooxdoo missing appearances”
Thanks in advance

  • You must to post comments
0
0

In Chrome’s console there is a dropdown where you can enable/disable different logging level.

FF and IE have a similar selection. The javascript console recognizes: Info, Warning, Error, Debug, Log.

 

 

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.