Skip to content

Commit

Permalink
remove logger handler only in notebook (#868)
Browse files Browse the repository at this point in the history
remove logger handler only in notebook
  • Loading branch information
dineshyv authored Jan 24, 2025
1 parent ebffa15 commit cb11336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llama_stack/distribution/library_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def initialize(self):
import nest_asyncio

nest_asyncio.apply()
if not self.skip_logger_removal:
self._remove_root_logger_handlers()
if not self.skip_logger_removal:
self._remove_root_logger_handlers()

return asyncio.run(self.async_client.initialize())

Expand Down

0 comments on commit cb11336

Please sign in to comment.