better formatting for log spec