make logging consistent