mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1362 from ynput/enhancement/define-logging-config
Chore: Define logging config for AYON processes
This commit is contained in:
commit
eb9199c2ac
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue