more idomatic log formatting