Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to filter out debug messages like “XI2 mouse release … source MouseEventNotSynthesized”
QtWS25 Last Chance

how to filter out debug messages like “XI2 mouse release … source MouseEventNotSynthesized”

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 430 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joachim W
    wrote on last edited by
    #1

    After enabling debug messages, my console is flooded with unwanted system messages like

    XI2 mouse motion 331,150, time 188607671, source MouseEventNotSynthesized
    

    How to get rid of them? I guess through

    QLoggingCategory::setFilterRules("*.debug=true;foo.bar.debug=false");
    

    How to find out what to put in place of foo.bar?

    Disclosure: a longer version of this question is pending at https://stackoverflow.com/questions/48486828

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Joachim W
      wrote on last edited by
      #2

      Answer at https://stackoverflow.com/a/48491350/1017348.

      The documentation of QLoggingCategory has a wrong separator character (https://bugreports.qt.io/browse/QTBUG-66050) and is insufficient (https://bugreports.qt.io/browse/QTBUG-66051).

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved