Skip to content

How to hide "missing appearance" browser warnings #1302

Closed

Description

@itg-assistant

Ser Gar asked 2018-01-10 14:57:07 UTC

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

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2018-01-10 16:21:41 UTC

    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.

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Ser Gar answered 2018-01-16 22:15:34 UTC

    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

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2018-01-16 22:38:43 UTC

    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

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    edmond girardi answered 2018-03-22 13:08:31 UTC

    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.

  5. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2018-03-23 19:00:53 UTC

    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.

  6. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    edmond girardi answered 2018-03-23 19:15:04 UTC

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    New FeatureA capability that does not exist yet.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions