improved empty span logging