Repository: miurahr/aqtinstall

Issue:
leaked semaphore objects?
aqt 1.2.0b3, macOS 11.4
```
% aqt install --outputdir ~/junkaqt 5.12.11 mac desktop -m qtwebengine

2021-06-11 11:16:07,044 - aqt - INFO - aqtinstall(aqt) vunknown on Python 3.9.4 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
2021-06-11 11:16:07,044 - aqt - WARNING - Specified Qt version is unknown: 5.12.11.
2021-06-11 11:16:56,388 - aqt - INFO - Patching /Users/administrator/junkaqt/5.12.11/clang_64/bin/qmake
2021-06-11 11:16:56,417 - aqt - INFO - Patching /Users/administrator/junkaqt/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
2021-06-11 11:16:56,429 - aqt - INFO - Patching /Users/administrator/junkaqt/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
2021-06-11 11:16:56,450 - aqt - INFO - Finished installation
2021-06-11 11:16:56,451 - aqt - INFO - Time elasped: 49.40753163 second
/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
```

Discussion:
tsteven4: ```
% aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
2021-06-18 11:17:20,590 - aqt - INFO - aqtinstall(aqt) v1.2.0b5.dev7 on Python 3.9.5 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 690, in installer
    downloadBinaryFile(url, archive, "sha1", hash, timeout, logger)
  File "/usr/local/lib/python3.9/site-packages/aqt/helper.py", line 96, in downloadBinaryFile
    newurl = altlink(r.url, r.headers["Location"], logger=logger)
TypeError: altlink() got an unexpected keyword argument 'logger'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/aqt", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/aqt/__init__.py", line 31, in main
    return cli.run()
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 668, in run
    return args.func(args)
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 287, in run_install
    self.call_installer(qt_archives, base_dir, sevenzip, keep)
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 185, in call_installer
    pool.starmap(installer, tasks)
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 372, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 771, in get
    raise self._value
TypeError: altlink() got an unexpected keyword argument 'logger'
administrator@27229 aqtmstr % /usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
```

tsteven4: 16569e62a287d631fb070050abec1eee62ed494d fixed the crash, but many log messages still missing.
miurahr: multiprocessing and logging requires a special treatment.
https://fanchenbao.medium.com/python3-logging-with-multiprocessing-f51f460b8778
https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes
tsteven4: 28e283a4b24de19b8de12f2d4c0b9e7919376715 is better, but it still seems to miss messages related to most of the packages.  Here I printed all the package names found by call_installer.  I expected to see INFO messages related to all of them.
```
   def call_installer(self, qt_archives, base_dir, sevenzip, keep):
        tasks = []
        for arc in qt_archives.get_archives():
            print("archive ", arc.name)
            tasks.append((arc, base_dir, sevenzip, keep))
```
```
aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
2021-06-19 04:50:23,457 - aqt - INFO - aqtinstall(aqt) v1.2.0b5.dev10 on Python 3.9.5 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
archive  qtbase
archive  qtconnectivity
archive  qtdeclarative
archive  qtgraphicaleffects
archive  qtimageformats
archive  qtmacextras
archive  qtmultimedia
archive  qtsensors
archive  qtsvg
archive  qttranslations
archive  qtwebchannel
archive  qtwebsockets
archive  qtxmlpatterns
archive  qtlocation
archive  qtserialport
archive  qttools
archive  qtquickcontrols
archive  qtquickcontrols2
archive  qt3d
archive  qtcanvas3d
archive  qtwebview
archive  qtserialbus
archive  qtscxml
archive  qtgamepad
archive  qtspeech
archive  qtremoteobjects
2021-06-19 04:50:24,459 - installer - INFO - Downloading qtbase...
2021-06-19 04:50:24,459 - installer - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:24,464 - installer - INFO - Downloading qtdeclarative...
2021-06-19 04:50:24,464 - installer - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:24,469 - installer - INFO - Downloading qtimageformats...
2021-06-19 04:50:24,469 - installer - INFO - Downloading qtmultimedia...
2021-06-19 04:50:24,469 - installer - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:24,469 - installer - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:25,828 - installer - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:25,828 - installer - INFO - Redirected: qt.mirror.constant.com
2021-06-19 04:50:25,831 - installer - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:25,831 - installer - INFO - Redirected: qt.mirror.constant.com
2021-06-19 04:50:25,832 - installer - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:25,832 - installer - INFO - Redirected: qt.mirror.constant.com
2021-06-19 04:50:25,846 - installer - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 04:50:25,846 - installer - INFO - Redirected: qt.mirror.constant.com
2021-06-19 04:50:26,524 - installer - INFO - Finished installation of qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.056945941
2021-06-19 04:50:26,721 - installer - INFO - Finished installation of qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.2535714139999996
2021-06-19 04:50:27,669 - installer - INFO - Finished installation of qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.207472093
2021-06-19 04:50:30,460 - installer - INFO - Finished installation of qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 6.00329662
2021-06-19 04:50:41,727 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/bin/qmake
2021-06-19 04:50:41,754 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DRender.pc
2021-06-19 04:50:41,756 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DAnimation.pc
2021-06-19 04:50:41,757 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Xml.pc
2021-06-19 04:50:41,758 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Network.pc
2021-06-19 04:50:41,759 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuick.pc
2021-06-19 04:50:41,759 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Multimedia.pc
2021-06-19 04:50:41,760 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGLExtensions.pc
2021-06-19 04:50:41,761 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTest.pc
2021-06-19 04:50:41,762 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Widgets.pc
2021-06-19 04:50:41,762 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DLogic.pc
2021-06-19 04:50:41,763 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RemoteObjects.pc
2021-06-19 04:50:41,764 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DCore.pc
2021-06-19 04:50:41,764 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickInput.pc
2021-06-19 04:50:41,765 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MultimediaWidgets.pc
2021-06-19 04:50:41,765 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebChannel.pc
2021-06-19 04:50:41,766 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DExtras.pc
2021-06-19 04:50:41,767 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5DBus.pc
2021-06-19 04:50:41,768 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Nfc.pc
2021-06-19 04:50:41,769 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiPlugin.pc
2021-06-19 04:50:41,769 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickAnimation.pc
2021-06-19 04:50:41,770 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MacExtras.pc
2021-06-19 04:50:41,771 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGL.pc
2021-06-19 04:50:41,771 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5XmlPatterns.pc
2021-06-19 04:50:41,772 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Core.pc
2021-06-19 04:50:41,773 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebView.pc
2021-06-19 04:50:41,774 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gamepad.pc
2021-06-19 04:50:41,774 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Test.pc
2021-06-19 04:50:41,775 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gui.pc
2021-06-19 04:50:41,776 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialPort.pc
2021-06-19 04:50:41,776 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiTools.pc
2021-06-19 04:50:41,777 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickExtras.pc
2021-06-19 04:50:41,778 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sensors.pc
2021-06-19 04:50:41,778 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5TextToSpeech.pc
2021-06-19 04:50:41,779 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RepParser.pc
2021-06-19 04:50:41,779 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sql.pc
2021-06-19 04:50:41,780 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickRender.pc
2021-06-19 04:50:41,781 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickScene2D.pc
2021-06-19 04:50:41,781 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebSockets.pc
2021-06-19 04:50:41,782 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Qml.pc
2021-06-19 04:50:41,783 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialBus.pc
2021-06-19 04:50:41,784 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Positioning.pc
2021-06-19 04:50:41,784 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Location.pc
2021-06-19 04:50:41,785 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Bluetooth.pc
2021-06-19 04:50:41,785 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Quick.pc
2021-06-19 04:50:41,786 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PrintSupport.pc
2021-06-19 04:50:41,787 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Designer.pc
2021-06-19 04:50:41,787 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickControls2.pc
2021-06-19 04:50:41,788 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Scxml.pc
2021-06-19 04:50:41,789 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Help.pc
2021-06-19 04:50:41,789 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTemplates2.pc
2021-06-19 04:50:41,790 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PositioningQuick.pc
2021-06-19 04:50:41,790 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Svg.pc
2021-06-19 04:50:41,791 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DInput.pc
2021-06-19 04:50:41,792 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickWidgets.pc
2021-06-19 04:50:41,792 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Concurrent.pc
2021-06-19 04:50:41,794 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport.la
2021-06-19 04:50:41,795 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug.la
2021-06-19 04:50:41,797 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport_debug.la
2021-06-19 04:50:41,799 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug_debug.la
2021-06-19 04:50:41,800 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport.la
2021-06-19 04:50:41,802 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport_debug.la
2021-06-19 04:50:41,804 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport.la
2021-06-19 04:50:41,806 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport_debug.la
2021-06-19 04:50:41,807 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport.la
2021-06-19 04:50:41,809 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport.la
2021-06-19 04:50:41,810 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools_debug.la
2021-06-19 04:50:41,812 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport_debug.la
2021-06-19 04:50:41,813 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport_debug.la
2021-06-19 04:50:41,815 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport_debug.la
2021-06-19 04:50:41,817 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport.la
2021-06-19 04:50:41,818 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport.la
2021-06-19 04:50:41,820 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport_debug.la
2021-06-19 04:50:41,822 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport_debug.la
2021-06-19 04:50:41,823 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol_debug.la
2021-06-19 04:50:41,825 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDevTools.la
2021-06-19 04:50:41,827 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport_debug.la
2021-06-19 04:50:41,828 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport.la
2021-06-19 04:50:41,830 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions_debug.la
2021-06-19 04:50:41,831 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions.la
2021-06-19 04:50:41,833 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport.la
2021-06-19 04:50:41,834 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools.la
2021-06-19 04:50:41,836 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport_debug.la
2021-06-19 04:50:41,837 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport_debug.la
2021-06-19 04:50:41,839 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport.la
2021-06-19 04:50:41,841 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5Bootstrap.la
2021-06-19 04:50:41,842 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol.la
2021-06-19 04:50:41,844 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport.la
2021-06-19 04:50:41,845 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
2021-06-19 04:50:41,853 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
2021-06-19 04:50:41,872 - aqt - INFO - Finished installation
2021-06-19 04:50:41,872 - aqt - INFO - Time elasped: 18.41531297 second
```



tsteven4: 8d4eac944a2e1f81556bd5eebea6278365484382 seems to have all the expected messages on the console, but 
1. installer messages are designated '- root -' instead of '- aqt -'
2. '- root -' messages do not appear in aqtinstall.log

```
% aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
2021-06-19 06:49:59,102 - aqt - INFO - aqtinstall(aqt) v1.2.0b5.dev11 on Python 3.9.5 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
2021-06-19 06:50:00,108 - root - INFO - Downloading qtbase...
2021-06-19 06:50:00,108 - root - INFO - Downloading qtdeclarative...
2021-06-19 06:50:00,108 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:00,108 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:00,118 - root - INFO - Downloading qtimageformats...
2021-06-19 06:50:00,118 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:00,141 - root - INFO - Downloading qtmultimedia...
2021-06-19 06:50:00,142 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:01,480 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:01,481 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:01,488 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:01,488 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:01,493 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:01,493 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:01,504 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:01,504 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:02,138 - root - INFO - Finished installation of qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.021532351
2021-06-19 06:50:02,139 - root - INFO - Downloading qtmacextras...
2021-06-19 06:50:02,139 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:02,363 - root - INFO - Finished installation of qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.222137906
2021-06-19 06:50:02,364 - root - INFO - Downloading qtsensors...
2021-06-19 06:50:02,364 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:03,270 - root - INFO - Finished installation of qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.163319894
2021-06-19 06:50:03,271 - root - INFO - Downloading qtgraphicaleffects...
2021-06-19 06:50:03,271 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:03,496 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:03,496 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:03,726 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:03,726 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:03,743 - root - INFO - Finished installation of qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.6047383280000003
2021-06-19 06:50:03,744 - root - INFO - Downloading qtsvg...
2021-06-19 06:50:03,744 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:04,261 - root - INFO - Finished installation of qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.8984649070000001
2021-06-19 06:50:04,262 - root - INFO - Downloading qtwebchannel...
2021-06-19 06:50:04,262 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:04,632 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:04,632 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:04,998 - root - INFO - Finished installation of qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.727557199
2021-06-19 06:50:04,999 - root - INFO - Downloading qtxmlpatterns...
2021-06-19 06:50:04,999 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:05,094 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:05,094 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:05,602 - root - INFO - Finished installation of qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.8591650560000006
2021-06-19 06:50:05,603 - root - INFO - Downloading qttranslations...
2021-06-19 06:50:05,603 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:05,611 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:05,611 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:05,995 - root - INFO - Finished installation of qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.7337519129999999
2021-06-19 06:50:05,996 - root - INFO - Downloading qtwebsockets...
2021-06-19 06:50:05,996 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:06,087 - root - INFO - Finished installation of qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 5.980260974
2021-06-19 06:50:06,088 - root - INFO - Downloading qtconnectivity...
2021-06-19 06:50:06,088 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:06,363 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:06,363 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:06,966 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:06,966 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:07,361 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:07,361 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:07,403 - root - INFO - Finished installation of qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.404769656
2021-06-19 06:50:07,404 - root - INFO - Downloading qtlocation...
2021-06-19 06:50:07,404 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:07,449 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:07,449 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:07,791 - root - INFO - Finished installation of qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.7955249969999993
2021-06-19 06:50:07,792 - root - INFO - Downloading qtserialport...
2021-06-19 06:50:07,792 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:07,931 - root - INFO - Finished installation of qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.3283060840000003
2021-06-19 06:50:07,932 - root - INFO - Downloading qtquickcontrols...
2021-06-19 06:50:07,932 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:08,126 - root - INFO - Finished installation of qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.039184667
2021-06-19 06:50:08,127 - root - INFO - Downloading qt3d...
2021-06-19 06:50:08,128 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:08,756 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:08,756 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:09,155 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:09,155 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:09,288 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:09,288 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:09,477 - root - INFO - Finished installation of qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.686068552000001
2021-06-19 06:50:09,478 - root - INFO - Downloading qttools...
2021-06-19 06:50:09,478 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:09,491 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:09,491 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:09,950 - root - INFO - Finished installation of qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.5472042879999997
2021-06-19 06:50:09,951 - root - INFO - Downloading qtwebview...
2021-06-19 06:50:09,951 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:10,168 - root - INFO - Finished installation of qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.236941636000001
2021-06-19 06:50:10,169 - root - INFO - Downloading qtquickcontrols2...
2021-06-19 06:50:10,169 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:10,836 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:10,836 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:11,311 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:11,311 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:11,511 - root - INFO - Finished installation of qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.384414565
2021-06-19 06:50:11,512 - root - INFO - Downloading qtcanvas3d...
2021-06-19 06:50:11,512 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:11,514 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:11,515 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:11,679 - root - INFO - Finished installation of qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.7289037159999996
2021-06-19 06:50:11,680 - root - INFO - Downloading qtserialbus...
2021-06-19 06:50:11,680 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:12,597 - root - INFO - Finished installation of qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.429029314000001
2021-06-19 06:50:12,598 - root - INFO - Downloading qtscxml...
2021-06-19 06:50:12,598 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:12,874 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:12,874 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:13,052 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:13,052 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:13,387 - root - INFO - Finished installation of qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.8764249930000005
2021-06-19 06:50:13,388 - root - INFO - Downloading qtspeech...
2021-06-19 06:50:13,388 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:13,567 - root - INFO - Finished installation of qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.8879223769999989
2021-06-19 06:50:13,945 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:13,946 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:14,108 - root - INFO - Finished installation of qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 4.630802316999999
2021-06-19 06:50:14,523 - root - INFO - Finished installation of qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.925793144
2021-06-19 06:50:14,524 - root - INFO - Downloading qtgamepad...
2021-06-19 06:50:14,524 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:14,750 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:14,750 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:15,076 - root - INFO - Finished installation of qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.6888563969999986
2021-06-19 06:50:15,077 - root - INFO - Downloading qtremoteobjects...
2021-06-19 06:50:15,077 - root - DEBUG - Download URL: https://download.qt.io/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:15,878 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:15,878 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:16,251 - root - INFO - Finished installation of qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.728655241000002
2021-06-19 06:50:16,435 - root - INFO - Asked to redirect(302) to: http://qt.mirror.constant.com/online/qtsdkrepository/mac_x64/desktop/qt5_51211/qt.qt5.51211.clang_64/5.12.11-0-202105210517qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z
2021-06-19 06:50:16,435 - root - INFO - Redirected: qt.mirror.constant.com
2021-06-19 06:50:17,073 - root - INFO - Finished installation of qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 1.9961710240000006
2021-06-19 06:50:17,269 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/bin/qmake
2021-06-19 06:50:17,297 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DRender.pc
2021-06-19 06:50:17,299 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DAnimation.pc
2021-06-19 06:50:17,299 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Xml.pc
2021-06-19 06:50:17,301 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Network.pc
2021-06-19 06:50:17,302 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuick.pc
2021-06-19 06:50:17,302 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Multimedia.pc
2021-06-19 06:50:17,303 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGLExtensions.pc
2021-06-19 06:50:17,304 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTest.pc
2021-06-19 06:50:17,305 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Widgets.pc
2021-06-19 06:50:17,305 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DLogic.pc
2021-06-19 06:50:17,306 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RemoteObjects.pc
2021-06-19 06:50:17,307 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DCore.pc
2021-06-19 06:50:17,307 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickInput.pc
2021-06-19 06:50:17,308 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MultimediaWidgets.pc
2021-06-19 06:50:17,310 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebChannel.pc
2021-06-19 06:50:17,311 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DExtras.pc
2021-06-19 06:50:17,311 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5DBus.pc
2021-06-19 06:50:17,312 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Nfc.pc
2021-06-19 06:50:17,313 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiPlugin.pc
2021-06-19 06:50:17,313 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickAnimation.pc
2021-06-19 06:50:17,314 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MacExtras.pc
2021-06-19 06:50:17,315 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGL.pc
2021-06-19 06:50:17,316 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5XmlPatterns.pc
2021-06-19 06:50:17,317 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Core.pc
2021-06-19 06:50:17,317 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebView.pc
2021-06-19 06:50:17,318 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gamepad.pc
2021-06-19 06:50:17,318 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Test.pc
2021-06-19 06:50:17,319 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gui.pc
2021-06-19 06:50:17,320 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialPort.pc
2021-06-19 06:50:17,320 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiTools.pc
2021-06-19 06:50:17,321 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickExtras.pc
2021-06-19 06:50:17,321 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sensors.pc
2021-06-19 06:50:17,322 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5TextToSpeech.pc
2021-06-19 06:50:17,323 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RepParser.pc
2021-06-19 06:50:17,323 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sql.pc
2021-06-19 06:50:17,324 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickRender.pc
2021-06-19 06:50:17,325 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickScene2D.pc
2021-06-19 06:50:17,325 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebSockets.pc
2021-06-19 06:50:17,326 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Qml.pc
2021-06-19 06:50:17,327 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialBus.pc
2021-06-19 06:50:17,328 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Positioning.pc
2021-06-19 06:50:17,328 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Location.pc
2021-06-19 06:50:17,329 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Bluetooth.pc
2021-06-19 06:50:17,330 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Quick.pc
2021-06-19 06:50:17,330 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PrintSupport.pc
2021-06-19 06:50:17,331 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Designer.pc
2021-06-19 06:50:17,331 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickControls2.pc
2021-06-19 06:50:17,332 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Scxml.pc
2021-06-19 06:50:17,332 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Help.pc
2021-06-19 06:50:17,333 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTemplates2.pc
2021-06-19 06:50:17,333 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PositioningQuick.pc
2021-06-19 06:50:17,334 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Svg.pc
2021-06-19 06:50:17,335 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DInput.pc
2021-06-19 06:50:17,335 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickWidgets.pc
2021-06-19 06:50:17,336 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Concurrent.pc
2021-06-19 06:50:17,338 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport.la
2021-06-19 06:50:17,339 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug.la
2021-06-19 06:50:17,341 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport_debug.la
2021-06-19 06:50:17,343 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug_debug.la
2021-06-19 06:50:17,345 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport.la
2021-06-19 06:50:17,347 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport_debug.la
2021-06-19 06:50:17,349 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport.la
2021-06-19 06:50:17,351 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport_debug.la
2021-06-19 06:50:17,353 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport.la
2021-06-19 06:50:17,355 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport.la
2021-06-19 06:50:17,356 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools_debug.la
2021-06-19 06:50:17,358 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport_debug.la
2021-06-19 06:50:17,359 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport_debug.la
2021-06-19 06:50:17,361 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport_debug.la
2021-06-19 06:50:17,364 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport.la
2021-06-19 06:50:17,366 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport.la
2021-06-19 06:50:17,369 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport_debug.la
2021-06-19 06:50:17,372 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport_debug.la
2021-06-19 06:50:17,374 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol_debug.la
2021-06-19 06:50:17,377 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDevTools.la
2021-06-19 06:50:17,380 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport_debug.la
2021-06-19 06:50:17,383 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport.la
2021-06-19 06:50:17,384 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions_debug.la
2021-06-19 06:50:17,386 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions.la
2021-06-19 06:50:17,389 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport.la
2021-06-19 06:50:17,391 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools.la
2021-06-19 06:50:17,393 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport_debug.la
2021-06-19 06:50:17,394 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport_debug.la
2021-06-19 06:50:17,396 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport.la
2021-06-19 06:50:17,397 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5Bootstrap.la
2021-06-19 06:50:17,399 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol.la
2021-06-19 06:50:17,401 - aqt - INFO - Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport.la
2021-06-19 06:50:17,403 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
2021-06-19 06:50:17,410 - aqt - INFO - Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
2021-06-19 06:50:17,432 - aqt - INFO - Finished installation
2021-06-19 06:50:17,433 - aqt - INFO - Time elasped: 18.33146472 second
```
miurahr: @tsteven4 How we can improve logging? Could you try something?

Possible things:
- changes in logging.ini
- getLogger() paramter
- modification of worker_init, logger_init

miurahr: you may find console messages like

```
aqtinstall(aqt) v1.2.0b5.dev8 on Python 3.8.5 [CPython GCC 9.3.0]
Downloading qtx11extras...
Downloading qtbase...
Downloading qtmultimedia...
Downloading qtgraphicaleffects...
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtx11extras-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.4243227990009473
Downloading qtwebchannel...
Finished installation of qtgraphicaleffects-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.4531817019960727
Downloading qtsvg...
Finished installation of qtmultimedia-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.96280076399853
Downloading qttranslations...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtwebchannel-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.346145356998022
Downloading qtdeclarative...
Finished installation of qtsvg-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.371314572999836
Downloading qtimageformats...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qttranslations-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 3.2013913589980802
Downloading qtxmlpatterns...
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtimageformats-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.4703377519981586
Downloading qttools...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtxmlpatterns-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 3.117896594994818
Downloading qtsensors...
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtsensors-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.3890945150051266
Downloading qtserialport...
Finished installation of qtdeclarative-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 8.146631130002788
Downloading qtwebsockets...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtserialport-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.2348511180025525
Downloading qtlocation...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtwebsockets-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.2642899120037328
Downloading qtquickcontrols...
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtlocation-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 3.896398529999715
Downloading qt3d...
Finished installation of qtquickcontrols-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.862862590998702
Downloading qtquickcontrols2...
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtquickcontrols2-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 3.235963854996953
Downloading qtserialbus...
Finished installation of qt3d-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 4.764923880000424
Downloading qtwebview...
Finished installation of qtbase-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 23.295633241999894
Downloading qtconnectivity...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtserialbus-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.478011905004678
Downloading qtscxml...
Finished installation of qttools-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 17.19606082399696
Downloading qtgamepad...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtwebview-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.444481006001297
Downloading qtwayland...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtconnectivity-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.71175233899703
Downloading icu...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtscxml-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.548279825998179
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtgamepad-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.465823651997198
Downloading qtspeech...
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtwayland-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.6891752680021455
Downloading qtremoteobjects...
Redirected: ftp.yz.yamagata-u.ac.jp
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtspeech-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.1937653010027134
Redirected: ftp.yz.yamagata-u.ac.jp
Finished installation of qtremoteobjects-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z in 2.6205593060003594
Finished installation of icu-linux-Rhel7.2-x64.7z in 5.514262085001974
```
tsteven4: 4aaf31f7fa00e1c39c5272c951c165c73f720938 appears to have all the relevant log messages to the console and aqtinstall.log, but leaks semaphore objects.

```
aqt install --outputdir /tmp/Qt51211 5.12.11 mac desktop
aqtinstall(aqt) v1.2.0b5.dev24 on Python 3.9.5 [CPython Clang 12.0.0 (clang-1200.0.32.29)]
Downloading qtbase...
Downloading qtdeclarative...
Downloading qtimageformats...
Downloading qtmultimedia...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtimageformats-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.7804652830000003
Downloading qtmacextras...
Finished installation of qtmultimedia-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.984378605
Downloading qtsensors...
Finished installation of qtdeclarative-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.9942036499999998
Downloading qtgraphicaleffects...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtmacextras-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.3027911720000005
Downloading qtsvg...
Finished installation of qtsensors-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.570741515
Downloading qtwebchannel...
Redirected: qt.mirror.constant.com
Finished installation of qtgraphicaleffects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.403470693
Downloading qtxmlpatterns...
Finished installation of qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 6.662730015999999
Downloading qtconnectivity...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtsvg-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.5224543930000003
Downloading qttranslations...
Finished installation of qtwebchannel-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.419078648
Downloading qtwebsockets...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtconnectivity-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.7506964929999995
Downloading qtserialport...
Finished installation of qtxmlpatterns-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.0437564240000006
Downloading qtlocation...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtwebsockets-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.454835062000001
Downloading qtquickcontrols...
Finished installation of qttranslations-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.9265182320000003
Downloading qt3d...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtserialport-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.369344610999999
Downloading qttools...
Redirected: qt.mirror.constant.com
Redirected: qt.mirror.constant.com
Finished installation of qtlocation-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.278358463
Downloading qtwebview...
Finished installation of qtquickcontrols-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.9061532739999993
Downloading qtquickcontrols2...
Redirected: qt.mirror.constant.com
Finished installation of qt3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 4.006216339000002
Downloading qtcanvas3d...
Redirected: qt.mirror.constant.com
Finished installation of qtwebview-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.382545061
Downloading qtserialbus...
Redirected: qt.mirror.constant.com
Finished installation of qtquickcontrols2-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 3.1102237809999984
Downloading qtscxml...
Redirected: qt.mirror.constant.com
Finished installation of qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 5.287734453999999
Downloading qtspeech...
Finished installation of qtcanvas3d-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.547277203
Redirected: qt.mirror.constant.com
Finished installation of qtserialbus-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.5653828819999998
Redirected: qt.mirror.constant.com
Finished installation of qtscxml-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.5962838070000025
Downloading qtgamepad...
Redirected: qt.mirror.constant.com
Finished installation of qtspeech-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.3732359800000005
Downloading qtremoteobjects...
Redirected: qt.mirror.constant.com
Finished installation of qtgamepad-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.4213248609999987
Redirected: qt.mirror.constant.com
Finished installation of qtremoteobjects-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z in 2.678920312999999
Patching /tmp/Qt51211/5.12.11/clang_64/bin/qmake
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DRender.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DAnimation.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Xml.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Network.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuick.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Multimedia.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGLExtensions.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTest.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Widgets.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DLogic.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RemoteObjects.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DCore.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickInput.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MultimediaWidgets.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebChannel.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DExtras.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5DBus.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Nfc.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiPlugin.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickAnimation.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5MacExtras.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5OpenGL.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5XmlPatterns.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Core.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebView.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gamepad.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Test.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Gui.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialPort.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5UiTools.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickExtras.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sensors.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5TextToSpeech.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5RepParser.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Sql.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickRender.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DQuickScene2D.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5WebSockets.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Qml.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5SerialBus.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Positioning.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Location.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Bluetooth.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Quick.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PrintSupport.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Designer.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickControls2.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Scxml.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Help.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickTemplates2.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5PositioningQuick.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Svg.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt53DInput.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5QuickWidgets.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/pkgconfig/Qt5Concurrent.pc
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDebug_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5GraphicsSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ClipboardSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5DeviceDiscoverySupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EventDispatcherSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5QmlDevTools.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5EdidSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FontDatabaseSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5OpenGLExtensions.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ThemeSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5UiTools.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PlatformCompositorSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5ServiceSupport_debug.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5FbSupport.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5Bootstrap.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5PacketProtocol.la
Patching /tmp/Qt51211/5.12.11/clang_64/lib/libQt5AccessibilitySupport.la
Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore
Patching /private/tmp/Qt51211/5.12.11/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug
Finished installation
Time elasped: 23.50064887 second
administrator@27229 ~ % /usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 12 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
```
tsteven4: There is a spelling error here, it should be "elapsed"
https://github.com/miurahr/aqtinstall/blob/4aaf31f7fa00e1c39c5272c951c165c73f720938/aqt/installer.py#L282
tsteven4: more spelling, "defaults"
https://github.com/miurahr/aqtinstall/blob/4aaf31f7fa00e1c39c5272c951c165c73f720938/aqt/helper.py#L222
tsteven4: This patch resolves the leaks.  However, I am not suggesting we should use the patch as it is, just that it points out the problem.  The LoggingQueueListener class variable queue was created once for the run method and once for every pool worker.
[logpatch.txt](https://github.com/miurahr/aqtinstall/files/6682602/logpatch.txt)

miurahr: @tsteven4 thank you for the feedback.
IMO, we've reached working state.
tsteven4: I suggest using .8f to format time, as done elsewhere, for https://github.com/miurahr/aqtinstall/blob/e63165f4fa1487139bdc12d34aee9671218ca984/aqt/installer.py#L740



Patch:
diff --git a/aqt/archives.py b/aqt/archives.py
index 6f21340..d6265eb 100644
--- a/aqt/archives.py
+++ b/aqt/archives.py
@@ -134,7 +134,6 @@ class QtArchives:
         base,
         subarchives=None,
         modules=None,
-        logging=None,
         all_extra=False,
         timeout=(5, 5),
     ):
@@ -146,10 +145,7 @@ class QtArchives:
         self.arch_list = [item.get("arch") for item in Settings.qt_combinations]
         all_archives = subarchives is None
         self.base = base + "/online/qtsdkrepository/"
-        if logging:
-            self.logger = logging
-        else:
-            self.logger = getLogger("aqt")
+        self.logger = getLogger("aqt.archives")
         self.archives = []
         self.mod_list = []
         if all_extra:
@@ -300,7 +296,6 @@ class SrcDocExamplesArchives(QtArchives):
         base,
         subarchives=None,
         modules=None,
-        logging=None,
         all_extra=False,
         timeout=(5, 5),
     ):
@@ -308,6 +303,7 @@ class SrcDocExamplesArchives(QtArchives):
         self.target = target
         self.os_name = os_name
         self.base = base
+        self.logger = getLogger("aqt.archives")
         super(SrcDocExamplesArchives, self).__init__(
             os_name,
             target,
@@ -316,7 +312,6 @@ class SrcDocExamplesArchives(QtArchives):
             base,
             subarchives=subarchives,
             modules=modules,
-            logging=logging,
             all_extra=all_extra,
             timeout=timeout,
         )
@@ -362,13 +357,12 @@ class ToolArchives(QtArchives):
     ToolArchive(linux, desktop, 3.1.1, ifw)
     """
 
-    def __init__(
-        self, os_name, tool_name, version, arch, base, logging=None, timeout=(5, 5)
-    ):
+    def __init__(self, os_name, tool_name, version, arch, base, timeout=(5, 5)):
         self.tool_name = tool_name
         self.os_name = os_name
+        self.logger = getLogger("aqt.archives")
         super(ToolArchives, self).__init__(
-            os_name, "desktop", version, arch, base, logging=logging, timeout=timeout
+            os_name, "desktop", version, arch, base, timeout=timeout
         )
 
     def _get_archives(self):
diff --git a/aqt/helper.py b/aqt/helper.py
index 26e9b88..2c80157 100644
--- a/aqt/helper.py
+++ b/aqt/helper.py
@@ -23,10 +23,12 @@ import configparser
 import hashlib
 import json
 import logging
+import logging.config
 import os
 import sys
 import xml.etree.ElementTree as ElementTree
-from typing import List, Optional
+from logging.handlers import QueueListener
+from typing import List
 from urllib.parse import urlparse
 
 import requests
@@ -87,12 +89,12 @@ def downloadBinaryFile(url: str, out: str, hash_algo: str, exp: str, timeout, lo
         try:
             r = session.get(url, allow_redirects=False, stream=True, timeout=timeout)
             if 300 < r.status_code < 309:
-                logger.info(
+                logger.debug(
                     "Asked to redirect({}) to: {}".format(
                         r.status_code, r.headers["Location"]
                     )
                 )
-                newurl = altlink(r.url, r.headers["Location"], logger=logger)
+                newurl = altlink(r.url, r.headers["Location"])
                 logger.info("Redirected: {}".format(urlparse(newurl).hostname))
                 r = session.get(newurl, stream=True, timeout=timeout)
         except requests.exceptions.ConnectionError as e:
@@ -122,14 +124,12 @@ def downloadBinaryFile(url: str, out: str, hash_algo: str, exp: str, timeout, lo
                 raise e
 
 
-def altlink(url: str, alt: str, logger=None):
+def altlink(url: str, alt: str):
     """Blacklisting redirected(alt) location based on Settings.blacklist configuration.
     When found black url, then try download a url + .meta4 that is a metalink version4
     xml file, parse it and retrieve best alternative url."""
-    if logger is None:
-        logger = logging.getLogger(__name__)
-    blacklist = Settings.blacklist  # type: Optional[List[str]]
-    if not any(alt.startswith(b) for b in blacklist):
+    logger = logging.getLogger("aqt.helper")
+    if not any(alt.startswith(b) for b in Settings.blacklist):
         return alt
     try:
         m = _get_meta(url)
@@ -163,7 +163,9 @@ def altlink(url: str, alt: str, logger=None):
             # if not found then return alt in default
             return next(
                 filter(
-                    lambda mirror: not any(mirror.startswith(b) for b in blacklist),
+                    lambda mirror: not any(
+                        mirror.startswith(b) for b in Settings.blacklist
+                    ),
                     mirrors,
                 ),
                 alt,
@@ -187,6 +189,22 @@ class MyConfigParser(configparser.ConfigParser):
         return result
 
 
+class MyQueueListener(QueueListener):
+    def __init__(self, queue):
+        handlers = []
+        super().__init__(queue, *handlers)
+
+    def handle(self, record):
+        """
+        Handle a record from subprocess.
+        Override logger name then handle at proper logger.
+        """
+        record = self.prepare(record)
+        logger = logging.getLogger("aqt.installer")
+        record.name = "aqt.installer"
+        logger.handle(record)
+
+
 class Settings:
     """Class to hold configuration and settings.		￼
     ￼    Actual values are stored in 'settings.ini' file.
@@ -195,27 +213,33 @@ class Settings:
 
     def __init__(self):
         self.config = MyConfigParser()
-        # load default config file
-        with open(os.path.join(os.path.dirname(__file__), "settings.ini"), "r") as f:
-            self.config.read_file(f)
-        # load combinations
+        self.configfile = os.path.join(os.path.dirname(__file__), "settings.ini")
+        self.loggingconf = os.path.join(os.path.dirname(__file__), "logging.ini")
+
+    def load_settings(self, file=None):
         with open(
             os.path.join(os.path.dirname(__file__), "combinations.json"),
             "r",
         ) as j:
             self._combinations = json.load(j)[0]
-
-    def load_settings(self, file):
-        # load custom file
         if file is not None:
             if isinstance(file, str):
                 result = self.config.read(file)
                 if len(result) == 0:
                     raise IOError("Fails to load specified config file {}".format(file))
+                self.configfile = file
             else:
                 # passed through command line argparse.FileType("r")
                 self.config.read_file(file)
+                self.configfile = file
                 file.close()
+        else:
+            if isinstance(self.configfile, str):
+                with open(self.configfile, "r") as f:
+                    self.config.read_file(f)
+            else:
+                self.configfile.seek(0)
+                self.config.read_file(self.configfile)
 
     @property
     def qt_combinations(self):
@@ -294,3 +318,11 @@ class Settings:
 
 
 Settings = Settings()
+
+
+def setup_logging(env_key="LOG_CFG"):
+    config = os.getenv(env_key, None)
+    if config is not None and os.path.exists(config):
+        logging.config.fileConfig(config)
+    else:
+        logging.config.fileConfig(Settings.loggingconf)
diff --git a/aqt/installer.py b/aqt/installer.py
index 034aa08..0636b48 100644
--- a/aqt/installer.py
+++ b/aqt/installer.py
@@ -23,8 +23,6 @@
 
 import argparse
 import binascii
-import logging
-import logging.config
 import multiprocessing
 import os
 import platform
@@ -32,6 +30,7 @@ import random
 import subprocess
 import time
 from logging import getLogger
+from logging.handlers import QueueHandler
 
 from semantic_version import Version
 from texttable import Texttable
@@ -44,7 +43,13 @@ from aqt.exceptions import (
     ArchiveListError,
     NoPackageFound,
 )
-from aqt.helper import Settings, downloadBinaryFile, getUrl
+from aqt.helper import (
+    MyQueueListener,
+    Settings,
+    downloadBinaryFile,
+    getUrl,
+    setup_logging,
+)
 from aqt.updater import Updater
 
 try:
@@ -177,15 +182,6 @@ class Cli:
             return False
         return all([m in available for m in modules])
 
-    def call_installer(self, qt_archives, base_dir, sevenzip, keep):
-        tasks = []
-        for arc in qt_archives.get_archives():
-            tasks.append((arc, base_dir, sevenzip, keep))
-        pool = multiprocessing.Pool(Settings.concurrency)
-        pool.starmap(installer, tasks)
-        pool.close()
-        pool.join()
-
     def run_install(self, args):
         """Run install subcommand"""
         start_time = time.perf_counter()
@@ -259,7 +255,6 @@ class Cli:
                 base,
                 subarchives=archives,
                 modules=modules,
-                logging=self.logger,
                 all_extra=all_extra,
                 timeout=timeout,
             )
@@ -276,7 +271,6 @@ class Cli:
                     random.choice(Settings.fallbacks),
                     subarchives=archives,
                     modules=modules,
-                    logging=self.logger,
                     all_extra=all_extra,
                     timeout=timeout,
                 )
@@ -288,10 +282,10 @@ class Cli:
         target_config = qt_archives.get_target_config()
         self.call_installer(qt_archives, base_dir, sevenzip, keep)
         if not nopatch:
-            Updater.update(target_config, base_dir, self.logger)
+            Updater.update(target_config, base_dir)
         self.logger.info("Finished installation")
         self.logger.info(
-            "Time elasped: {time:.8f} second".format(
+            "Time elapsed: {time:.8f} second".format(
                 time=time.perf_counter() - start_time
             )
         )
@@ -335,7 +329,6 @@ class Cli:
                 base,
                 subarchives=archives,
                 modules=modules,
-                logging=self.logger,
                 all_extra=all_extra,
                 timeout=timeout,
             )
@@ -352,7 +345,6 @@ class Cli:
                     random.choice(Settings.fallbacks),
                     subarchives=archives,
                     modules=modules,
-                    logging=self.logger,
                     all_extra=all_extra,
                     timeout=timeout,
                 )
@@ -442,7 +434,6 @@ class Cli:
                 version,
                 arch,
                 base,
-                logging=self.logger,
                 timeout=timeout,
             )
         except ArchiveConnectionError:
@@ -456,7 +447,6 @@ class Cli:
                     version,
                     arch,
                     random.choice(Settings.fallbacks),
-                    logging=self.logger,
                     timeout=timeout,
                 )
             except Exception:
@@ -576,12 +566,6 @@ class Cli:
             type=argparse.FileType("r"),
             help="Configuration ini file.",
         )
-        parser.add_argument(
-            "--logging-conf",
-            type=argparse.FileType("r"),
-            help="Logging configuration ini file.",
-        )
-        parser.add_argument("--logger", nargs=1, help="Specify logger name")
         subparsers = parser.add_subparsers(
             title="subcommands",
             description="Valid subcommands",
@@ -670,37 +654,47 @@ class Cli:
         parser.set_defaults(func=self.show_help)
         self.parser = parser
 
-    def _setup_logging(self, args, env_key="LOG_CFG"):
-        envconf = os.getenv(env_key, None)
-        conf = None
-        if args.logging_conf:
-            conf = args.logging_conf
-        elif envconf is not None:
-            conf = envconf
-        if conf is None or not os.path.exists(conf):
-            conf = os.path.join(os.path.dirname(__file__), "logging.ini")
-        logging.config.fileConfig(conf)
-        if args.logger is not None:
-            self.logger = logging.getLogger(args.logger)
-        else:
-            self.logger = logging.getLogger("aqt")
-
-    def _setup_settings(self, args=None, env_key="AQT_CONFIG"):
+    def _setup_settings(self, args=None):
+        # setup logging
+        setup_logging()
+        self.logger = getLogger("aqt.main")
+        # setup settings
         if args is not None and args.config is not None:
             Settings.load_settings(args.config)
         else:
-            config = os.getenv(env_key, None)
+            config = os.getenv("AQT_CONFIG", None)
             if config is not None and os.path.exists(config):
                 Settings.load_settings(config)
+                self.logger.info("Load configuration from {}".format(config))
+            else:
+                Settings.load_settings()
 
     def run(self, arg=None):
         args = self.parser.parse_args(arg)
         self._setup_settings(args)
-        self._setup_logging(args)
-        return args.func(args)
+        result = args.func(args)
+        return result
+
+    def call_installer(self, qt_archives, base_dir, sevenzip, keep):
+        queue = multiprocessing.Manager().Queue(-1)
+        listener = MyQueueListener(queue)
+        listener.start()
+        #
+        tasks = []
+        for arc in qt_archives.get_archives():
+            tasks.append((arc, base_dir, sevenzip, queue, keep))
+        ctx = multiprocessing.get_context("spawn")
+        pool = ctx.Pool(Settings.concurrency)
+        pool.starmap(installer, tasks)
+        #
+        pool.close()
+        pool.join()
+        # all done, close logging service for sub-processes
+        listener.enqueue_sentinel()
+        listener.stop()
 
 
-def installer(qt_archive, base_dir, command, keep=False, response_timeout=None):
+def installer(qt_archive, base_dir, command, queue, keep=False, response_timeout=None):
     """
     Installer function to download archive files and extract it.
     It is called through multiprocessing.Pool()
@@ -710,7 +704,17 @@ def installer(qt_archive, base_dir, command, keep=False, response_timeout=None):
     hashurl = qt_archive.hashurl
     archive = qt_archive.archive
     start_time = time.perf_counter()
-    logger = getLogger("aqt")
+    # set defaults
+    Settings.load_settings()
+    # set logging
+    setup_logging()  # XXX: why need to load again?
+    qh = QueueHandler(queue)
+    logger = getLogger()
+    for handler in logger.handlers:
+        handler.close()
+        logger.removeHandler(handler)
+    logger.addHandler(qh)
+    #
     logger.info("Downloading {}...".format(name))
     logger.debug("Download URL: {}".format(url))
     if response_timeout is None:
@@ -748,7 +752,10 @@ def installer(qt_archive, base_dir, command, keep=False, response_timeout=None):
     if not keep:
         os.unlink(archive)
     logger.info(
-        "Finished installation of {} in {}".format(
+        "Finished installation of {} in {:.8f}".format(
             archive, time.perf_counter() - start_time
         )
     )
+    qh.flush()
+    qh.close()
+    logger.removeHandler(qh)
diff --git a/aqt/logging.ini b/aqt/logging.ini
index cdc935b..c1781e2 100644
--- a/aqt/logging.ini
+++ b/aqt/logging.ini
@@ -11,6 +11,32 @@ handlers=console,file
 propagate=0
 qualname=aqt
 
+[logger_aqt_main]
+level=INFO
+propagate=1
+qualname=aqt.main
+
+[logger_aqt_archives]
+level=INFO
+propagate=1
+qualname=aqt.archives
+
+[logger_aqt_helper]
+level=INFO
+propagate=1
+qualname=aqt.helper
+
+[logger_aqt_installer]
+level=INFO
+handlers=NOTSET
+propagate=0
+qualname=aqt.installer
+
+[logger_aqt_updater]
+level=INFO
+propagate=1
+qualname=aqt.updater
+
 [formatters]
 keys=verbose,simple,brief
 
@@ -30,13 +56,13 @@ class=logging.Formatter
 keys=console,file
 
 [handler_console]
-level=DEBUG
+level=INFO
 class=logging.StreamHandler
-formatter=simple
+formatter=brief
 args=(sys.stderr,)
 
 [handler_file]
-level=INFO
+level=DEBUG
 class=logging.FileHandler
-formatter=simple
+formatter=verbose
 args=('aqtinstall.log', 'a')
diff --git a/aqt/settings.ini b/aqt/settings.ini
index 04f0ba3..4dd1a96 100644
--- a/aqt/settings.ini
+++ b/aqt/settings.ini
@@ -9,11 +9,11 @@ baseurl: https://download.qt.io
 
 [mirrors]
 blacklist:
+    http://mirrors.ocf.berkeley.edu
     http://mirrors.ustc.edu.cn
     http://mirrors.tuna.tsinghua.edu.cn
     http://mirrors.geekpie.club
 fallbacks:
-    https://mirrors.ocf.berkeley.edu/qt
     https://ftp.jaist.ac.jp/pub/qtproject
     http://ftp1.nluug.nl/languages/qt
     https://mirrors.dotsrc.org/qtproject
diff --git a/aqt/updater.py b/aqt/updater.py
index e0296e9..16b9a97 100644
--- a/aqt/updater.py
+++ b/aqt/updater.py
@@ -22,6 +22,7 @@ import logging
 import os
 import pathlib
 import subprocess
+from logging import getLogger
 
 import patch
 from semantic_version import SimpleSpec, Version
@@ -246,11 +247,12 @@ class Updater:
         self._patch_textfile(target_qt_conf, "HostData=target", new_hostdata)
 
     @classmethod
-    def update(cls, target, base_dir: str, logger):
+    def update(cls, target, base_dir: str):
         """
         Make Qt configuration files, qt.conf and qtconfig.pri.
         And update pkgconfig and patch Qt5Core and qmake
         """
+        logger = getLogger("aqt.updater")
         arch = target.arch
         if arch is None:
             arch_dir = ""
diff --git a/ci/logging.ini b/ci/logging.ini
new file mode 100644
index 0000000..79d2104
--- /dev/null
+++ b/ci/logging.ini
@@ -0,0 +1,53 @@
+[loggers]
+keys=root,aqt
+
+[logger_root]
+level=NOTSET
+handlers=console
+
+[logger_aqt]
+level=DEBUG
+handlers=console
+propagate=0
+qualname=aqt
+
+[logger_aqt_main]
+level=INFO
+propagate=1
+qualname=aqt.main
+
+[logger_aqt_archives]
+level=INFO
+propagate=1
+qualname=aqt.archives
+
+[logger_aqt_helper]
+level=INFO
+propagate=1
+qualname=aqt.helper
+
+[logger_aqt.installer]
+level=DEBUG
+propagate=1
+qualname=aqt.installer
+
+[logger_aqt_updater]
+level=INFO
+propagate=1
+qualname=aqt.updater
+
+[formatters]
+keys=verbose
+
+[formatter_verbose]
+format=%(asctime)s - %(name)s - %(levelname)s - %(module)s %(thread)d %(message)s
+class=logging.Formatter
+
+[handlers]
+keys=console
+
+[handler_console]
+level=DEBUG
+class=logging.StreamHandler
+formatter=verbose
+args=(sys.stderr,)
diff --git a/ci/settings.ini b/ci/settings.ini
index 02485a3..9f387ea 100644
--- a/ci/settings.ini
+++ b/ci/settings.ini
@@ -4,6 +4,8 @@
 concurrency: 2
 connection_timeout: 10
 response_timeout: 10
+baseurl: https://download.qt.io
+7zcmd: 7z
 
 [mirrors]
 blacklist:
@@ -17,3 +19,8 @@ fallbacks:
     https://ftp.jaist.ac.jp/pub/qtproject
     http://ftp1.nluug.nl/languages/qt
     https://mirrors.dotsrc.org/qtproject
+
+[kde_patches]
+patches:
+    0001-toolchain.prf-Use-vswhere-to-obtain-VS-installation-.patch
+    0002-Fix-allocated-memory-of-QByteArray-returned-by-QIODe.patch
diff --git a/ci/steps.yml b/ci/steps.yml
index fccead0..3eccc14 100644
--- a/ci/steps.yml
+++ b/ci/steps.yml
@@ -76,6 +76,7 @@ steps:
     workingDirectory: $(Build.BinariesDirectory)
     env:
       AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
+      LOG_CFG: $(Build.SourcesDirectory)/ci/logging.ini
     displayName: Run Aqt
 
   ##----------------------------------------------------


Test patch:
diff --git a/.github/workflows/test-install-qt.yml b/.github/workflows/test-install-qt.yml
index 83eb1ef..072b9ce 100644
--- a/.github/workflows/test-install-qt.yml
+++ b/.github/workflows/test-install-qt.yml
@@ -64,6 +64,7 @@ jobs:
           env = os.environ.copy()
           github_workspace = pathlib.Path(env["GITHUB_WORKSPACE"])
           env["AQT_CONFIG"] = (github_workspace / "ci" / "settings.ini").as_posix()
+          env["LOG_CFG"] = (github_workspace / "ci" / "logging.ini").as_posix()
           print("Execute: {}".format(command_line))
           try:
             res = subprocess.run(command_line, timeout=timeout, check=True, env=env)
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 1c856de..082f05e 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -4,7 +4,7 @@ import aqt
 def test_cli_help(capsys):
     expected = "".join(
         [
-            "usage: aqt [-h] [-c CONFIG] [--logging-conf LOGGING_CONF] [--logger LOGGER]\n",
+            "usage: aqt [-h] [-c CONFIG]\n",
             "           {install,doc,examples,src,tool,list,help,version} ...\n",
             "\n",
             "Installer for Qt SDK.\n",
@@ -13,9 +13,6 @@ def test_cli_help(capsys):
             "  -h, --help            show this help message and exit\n",
             "  -c CONFIG, --config CONFIG\n",
             "                        Configuration ini file.\n",
-            "  --logging-conf LOGGING_CONF\n",
-            "                        Logging configuration ini file.\n",
-            "  --logger LOGGER       Specify logger name\n",
             "\n",
             "subcommands:\n",
             "  Valid subcommands\n",
@@ -67,7 +64,7 @@ def test_cli_check_mirror():
 def test_cli_launch_with_no_argument(capsys):
     expected = "".join(
         [
-            "usage: aqt [-h] [-c CONFIG] [--logging-conf LOGGING_CONF] [--logger LOGGER]\n",
+            "usage: aqt [-h] [-c CONFIG]\n",
             "           {install,doc,examples,src,tool,list,help,version} ...\n",
             "\n",
             "Installer for Qt SDK.\n",
@@ -76,9 +73,6 @@ def test_cli_launch_with_no_argument(capsys):
             "  -h, --help            show this help message and exit\n",
             "  -c CONFIG, --config CONFIG\n",
             "                        Configuration ini file.\n",
-            "  --logging-conf LOGGING_CONF\n",
-            "                        Logging configuration ini file.\n",
-            "  --logger LOGGER       Specify logger name\n",
             "\n",
             "subcommands:\n",
             "  Valid subcommands\n",