Fix issue with logs.