When you use a configuration file for your logging rules and read/write this file with QSettings, you're not able to save an asterisk. The asterisk will be encoded to %2A and saved. So the whished logging rule won't be applied.
The code above will be saved in the config.ini file as:
Now, If you set the QT_LOGGING_CONF environment variable to config.ini, the QLoggingCategory is not able to interpret %2A as asterisk.
So either, QSettings will save the asterisk without encoding or the parser of QLoggingCategory can interpret the encoding.