fix logging format