Made the log work