Log is almost working