Fix logger formatter