DRYer logging