Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1622

logging to file not possible with PySide 6.1.1+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.1.1, 6.1.2
    • PySide
    • None
    • Windows

      from PySide6 import QtWidgets
      import logging
      
      logging.basicConfig(filename='example.log')
      logging.error('should log to file')
      

      This code logs to a file with PySide<=6.1.0 but does not with 6.1.1/6.1.2

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            kh4l3th Benjamin Werther
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes