log is working fine now