log fix