diff --git a/src/calendar_manager.py b/src/calendar_manager.py index 2a6feec1..b4916882 100644 --- a/src/calendar_manager.py +++ b/src/calendar_manager.py @@ -16,7 +16,7 @@ import time # Configure logger for this module logger = logging.getLogger(__name__) -logger.setLevel(logging.INFO) # Set to INFO to reduce noise +logger.setLevel(logging.DEBUG) # Set to DEBUG to see font details class CalendarManager: def __init__(self, display_manager, config): @@ -33,6 +33,12 @@ class CalendarManager: self.events = [] self.service = None + # Log font information during initialization + logger.debug(f"Display Manager fonts:") + logger.debug(f" Small font: {self.display_manager.small_font}") + logger.debug(f" Calendar font: {self.display_manager.calendar_font}") + logger.debug(f" Font types - Small: {type(self.display_manager.small_font)}, Calendar: {type(self.display_manager.calendar_font)}") + logger.info(f"Calendar configuration: enabled={self.enabled}, update_interval={self.update_interval}, max_events={self.max_events}, calendars={self.calendars}") # Get timezone from config