corrected logger for slow json implementation