Added dividing logs by topic