traeak commented on code in PR #9934:
URL: https://github.com/apache/trafficserver/pull/9934#discussion_r1273646891
##########
plugins/regex_revalidate/regex_revalidate.c:
##########
@@ -462,20 +468,20 @@ load_config(plugin_state_t *pstate, invalidate_t **ilist)
}
if (i) {
iptr->next = i;
- TSDebug(PLUGIN_NAME, "Loaded %s %d %d %s", i->regex_text,
(int)i->epoch, (int)i->expiry, strForResult(i->new_result));
+ TSDebug(PLUGIN_NAME, "Loaded %s %jd %jd %s", i->regex_text,
i->epoch, i->expiry, strForResult(i->new_result));
}
}
}
} else {
- TSDebug(PLUGIN_NAME, "Skipping line %d", ln);
+ TSDebug(PLUGIN_NAME, "Skipping line %d, too few fields", ln);
}
}
pcre_free(config_re);
fclose(fs);
pstate->last_load = s.st_mtime;
return true;
} else {
- TSDebug(PLUGIN_NAME, "File mod time is not newer: %d >= %d",
(int)pstate->last_load, (int)s.st_mtime);
+ TSDebug(PLUGIN_NAME, "File mod time is not newer: ftime: %jd <= last_load:
%jd", s.st_mtime, pstate->last_load);
Review Comment:
ditto
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]