[misc] Better logging