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. Qlogging.ini is not the correct name!!!!
Qt 6.11 is out! See what's new in the release blog

Qlogging.ini is not the correct name!!!!

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    medvedm
    wrote on last edited by
    #1

    Found a bug in the Qt documentation, just wanted to share it so anyone that is using logging categories knows. The documentation says:

    Rules set by setFilterRules() take precedence over rules specified in the QtProject configuration directory, and can, in turn, be overwritten by rules from the configuration file specified by QT_LOGGING_CONF, and rules set by QT_LOGGING_RULES.
    Order of evaluation:
    Rules from QtProject/qlogging.ini
    Rules set by setFilterRules()
    Rules from file in QT_LOGGING_CONF
    Rules from environment variable QT_LOGGING_RULES

    See here http://qt-project.org/doc/qt-5/qloggingcategory.html#logging-rules.

    It turns out the file is qtlogging.ini, not qlogging.ini. I know it is a small typo, but it won't work. Also, please note that the section in the ini file is [Rules].

    Reported as QTBUG-40845.

    M

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      It's already been fixed for 5.3.2 and a temporary doc note was added

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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