Currently none of the log_info msgs are getting
printed into syslog. vlog already does the right checks.
Remove the checks in log_info which is making all default log_info
prints no-ops
Also change severity of "interface reset timer" msg
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Sam Tannous <stannous@cumulusnetworks.com>
cksum = frame_checksum(output, output_len, 0);
free(output);
if (cksum != hardware->h_lport_cksum) {
- log_info("localchassis",
+ log_debug("localchassis",
"change detected for port %s, resetting its timer",
hardware->h_ifname);
hardware->h_lport_cksum = cksum;
{
va_list ap;
- if (debug > 1 || logh) {
- va_start(ap, emsg);
- vlog(LOG_INFO, token, emsg, ap);
- va_end(ap);
- }
+ va_start(ap, emsg);
+ vlog(LOG_INFO, token, emsg, ap);
+ va_end(ap);
}
static int