Log is working properly