plugins/check_log: fixed logtail2 call