Merge pull request #1362 from ynput/enhancement/define-logging-config

Chore: Define logging config for AYON processes
This commit is contained in:
Jakub Trllo 2025-07-07 13:11:46 +02:00 committed by GitHub
commit eb9199c2ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
"""Package for handling AYON command line arguments."""
import os
import sys
import logging
import code
import traceback
from pathlib import Path
@ -306,6 +307,8 @@ def _add_addons(addons_manager):
def main(*args, **kwargs):
logging.basicConfig()
initialize_ayon_connection()
python_path = os.getenv("PYTHONPATH", "")
split_paths = python_path.split(os.pathsep)