Differentiate the BMC related logging from the synchronization logging.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
a442a928f8
commit
335100c1a6
2
clock.c
2
clock.c
|
@ -448,7 +448,7 @@ static void handle_state_decision_event(struct clock *c)
|
|||
if (!best)
|
||||
return;
|
||||
|
||||
pr_info("selected best master clock %s",
|
||||
pr_notice("selected best master clock %s",
|
||||
cid2str(&best->dataset.identity));
|
||||
|
||||
if (c->best != best)
|
||||
|
|
6
port.c
6
port.c
|
@ -178,7 +178,7 @@ static int add_foreign_master(struct port *p, struct ptp_message *m)
|
|||
break;
|
||||
}
|
||||
if (!fc) {
|
||||
pr_info("port %hu: new foreign master %s", portnum(p),
|
||||
pr_notice("port %hu: new foreign master %s", portnum(p),
|
||||
pid2str(&m->header.sourcePortIdentity));
|
||||
|
||||
fc = malloc(sizeof(*fc));
|
||||
|
@ -654,7 +654,7 @@ static void process_delay_resp(struct port *p, struct ptp_message *m)
|
|||
if (p->logMinDelayReqInterval != rsp->hdr.logMessageInterval) {
|
||||
// TODO - validate the input.
|
||||
p->logMinDelayReqInterval = rsp->hdr.logMessageInterval;
|
||||
pr_info("port %hu: minimum delay request interval 2^%d",
|
||||
pr_notice("port %hu: minimum delay request interval 2^%d",
|
||||
portnum(p), p->logMinDelayReqInterval);
|
||||
tmtab_init(&p->tmtab, 1 + p->logMinDelayReqInterval);
|
||||
}
|
||||
|
@ -812,7 +812,7 @@ void port_dispatch(struct port *p, enum fsm_event event)
|
|||
if (next == p->state)
|
||||
return;
|
||||
|
||||
pr_info("port %hu: %s to %s on %s", portnum(p),
|
||||
pr_notice("port %hu: %s to %s on %s", portnum(p),
|
||||
ps_str[p->state], ps_str[next], ev_str[event]);
|
||||
|
||||
port_clr_tmo(p->fda.fd[FD_ANNOUNCE_TIMER]);
|
||||
|
|
Loading…
Reference in New Issue