Add logger for debugging