Skip to content

Commit

Permalink
Fix root logger not running (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
george-zubrienko authored Nov 25, 2024
1 parent 50a6fcd commit 0114a02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions esd_services_api_client/nexus/core/app_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ async def activate(self):
logger_type=self.__class__,
)

root_logger.start()

root_logger.info(
"Running algorithm {algorithm} on Nexus version {version}",
algorithm=algorithm.__class__.__name__,
Expand Down Expand Up @@ -322,6 +324,8 @@ async def activate(self):
qes = self._injector.get(QueryEnabledStore)
qes.close()

root_logger.stop()

@classmethod
def create(cls) -> "Nexus":
"""
Expand Down

0 comments on commit 0114a02

Please sign in to comment.