add duration in cmd logger