better logging traces