Remove NHL-specific logging from display controller

This commit is contained in:
ChuckBuilds
2025-04-18 13:15:11 -05:00
parent 99626a175c
commit aff5ceef31

View File

@@ -15,10 +15,6 @@ logging.basicConfig(
format='%(levelname)s:%(name)s:%(message)s'
)
# Set NHL logger to INFO level to reduce spam
nhl_logger = logging.getLogger('NHL')
nhl_logger.setLevel(logging.INFO)
logger = logging.getLogger(__name__)
class DisplayController:
@@ -145,13 +141,10 @@ class DisplayController:
self.stocks.display_stocks(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_live' and self.nhl_live:
logger.info("Calling NHLLiveManager.display()")
self.nhl_live.display(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_recent' and self.nhl_recent:
logger.info("Calling NHLRecentManager.display()")
self.nhl_recent.display(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_upcoming' and self.nhl_upcoming:
logger.info("Calling NHLUpcomingManager.display()")
self.nhl_upcoming.display(force_clear=self.force_clear)
elif self.current_display_mode == 'stock_news' and self.news: