Add logger for debug