Move logger to a let and change formatter.