Only tested on my local machine. Will check later today and then merge if there are no issues.
$ streamlink -l debug | head -n1
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 788, in log_current_versions
log.debug(f"Python: {platform.python_version()}")
Message: 'Python: 3.12.4'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 789, in log_current_versions
log.debug(f"OpenSSL: {ssl.OPENSSL_VERSION}")
Message: 'OpenSSL: OpenSSL 3.3.1 4 Jun 2024'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 790, in log_current_versions
log.debug(f"Streamlink: {streamlink_version}")
Message: 'Streamlink: 6.9.0+13.g18e30397'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 794, in log_current_versions
log.debug("Dependencies:")
Message: 'Dependencies:'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' certifi: 2024.7.4'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' isodate: 0.6.1'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' lxml: 5.3.0'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' pycountry: 24.6.1'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' pycryptodome: 3.20.0'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' PySocks: 1.7.1'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' requests: 2.32.3'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' trio: 0.26.2'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' trio-websocket: 0.11.1'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' typing-extensions: 4.12.2'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' urllib3: 2.2.2'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 915, in setup
log_current_versions()
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 804, in log_current_versions
log.debug(f" {name}: {version}")
Message: ' websocket-client: 1.8.0'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 916, in setup
log_current_arguments(streamlink, parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 817, in log_current_arguments
log.debug("Arguments:")
Message: 'Arguments:'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 916, in setup
log_current_arguments(streamlink, parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 829, in log_current_arguments
log.debug(f" {name}={value if name not in sensitive else '*' * 8}")
Message: ' --loglevel=debug'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 916, in setup
log_current_arguments(streamlink, parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 829, in log_current_arguments
log.debug(f" {name}={value if name not in sensitive else '*' * 8}")
Message: ' --player=/usr/bin/mpv'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.12/logging/__init__.py", line 1164, in emit
self.flush()
File "/usr/lib/python3.12/logging/__init__.py", line 1144, in flush
self.stream.flush()
BrokenPipeError: [Errno 32] Broken pipe
Call stack:
File "/home/basti/venv/streamlink-312/bin/streamlink", line 8, in <module>
sys.exit(main())
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 980, in main
setup(parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 916, in setup
log_current_arguments(streamlink, parser)
File "/home/basti/repos/streamlink/src/streamlink_cli/main.py", line 829, in log_current_arguments
log.debug(f" {name}={value if name not in sensitive else '*' * 8}")
Message: ' --webbrowser-headless=True'
Arguments: ()
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
$ streamlink -l debug | head -n1
[cli][debug] OS: Linux-6.10.6-1-git-x86_64-with-glibc2.40
$ streamlink -l debug --stdout 2> >(head -n1)
[cli][debug] OS: Linux-6.10.6-1-git-x86_64-with-glibc2.40
$ streamlink -l debug | head -n1
[cli][debug] OS: Windows 10