<div dir="ltr">Studying: <a href="https://qgis.org/pyqgis/master/core/QgsLogger.html">https://qgis.org/pyqgis/master/core/QgsLogger.html</a><div><br></div><div>There seems to be four levels. And if their values are taken from Qt, their values are as listed below:</div><div>- debug 0</div><div>- warning 1<br>- critical 2<br>- fatal 3<br></div><div><br></div><div>Is this correct?</div><div><br></div><div>The page says: "<i>If the debug level of a message is <= QGIS_DEBUG, the message is written to the console. </i>"</div><div><br></div><div>If that is true, that is not a very meaningful behavior. When would anyone want to have all debug and warning messages logged, but not critical and fatal messages? And conversely, if one wants only the messages above some criticality threshold, that is not possible. </div><div><br></div><div>Or have I misunderstood?</div><div><br></div><div>/Thomas</div></div>