fix bug: print correct interval variable

Signed-off-by: Henrik Austad <haustad@cisco.com>
do not tag trace if trace-interval is not set (will tag _every_ iteration)

Signed-off-by: Henrik Austad <haustad@cisco.com>