making log work