Fixed logging repeating