Skip to content

Commit

Permalink
🎨 Enable trace logs for remaining modules
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Nov 11, 2024
1 parent eaefc3e commit 2bf8c9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acapy_agent/core/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
load_multiple_genesis_transactions_from_config,
)
from ..config.logging import LoggingConfigurator
from ..config.logging.utils import add_trace_level
from ..config.provider import ClassProvider
from ..config.wallet import wallet_config
from ..core.profile import Profile
Expand Down Expand Up @@ -82,6 +83,8 @@
from .util import SHUTDOWN_EVENT_TOPIC, STARTUP_EVENT_TOPIC

LOGGER = logging.getLogger(__name__)
add_trace_level() # Allow trace logs from this module

# Refer ACA-Py issue #2197
# When the from version is not found
DEFAULT_ACAPY_VERSION = "v0.7.5"
Expand Down
2 changes: 2 additions & 0 deletions acapy_agent/utils/classloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
from types import ModuleType
from typing import Optional, Sequence, Type

from ..config.logging.utils import add_trace_level
from ..core.error import BaseError

LOGGER = logging.getLogger(__name__)
add_trace_level() # Allow trace logs from this module


class ModuleLoadError(BaseError):
Expand Down

0 comments on commit 2bf8c9e

Please sign in to comment.