Switch some warnings into logx calls to reduce noise during runtime. Should help to locate real errors if run without -v.
-- :wq Claudio Index: rrdp.c =================================================================== RCS file: /cvs/src/usr.sbin/rpki-client/rrdp.c,v retrieving revision 1.6 diff -u -p -r1.6 rrdp.c --- rrdp.c 19 Apr 2021 17:04:35 -0000 1.6 +++ rrdp.c 20 Apr 2021 09:04:25 -0000 @@ -331,22 +331,19 @@ rrdp_finished(struct rrdp *s) s->last_mod = NULL; switch (s->task) { case NOTIFICATION: - warnx("%s: repository not modified", - s->local); + logx("%s: repository not modified", s->local); rrdp_state_send(s); rrdp_free(s); rrdp_done(id, 1); break; case SNAPSHOT: - warnx("%s: downloading snapshot", - s->local); + logx("%s: downloading snapshot", s->local); s->sxml = new_snapshot_xml(p, &s->current, s); s->state = RRDP_STATE_REQ; break; case DELTA: - warnx("%s: downloading %lld deltas", - s->local, s->repository.serial - - s->current.serial); + logx("%s: downloading %lld deltas", s->local, + s->repository.serial - s->current.serial); s->dxml = new_delta_xml(p, &s->current, s); s->state = RRDP_STATE_REQ; break; @@ -372,7 +369,7 @@ rrdp_finished(struct rrdp *s) break; } } else if (s->res == HTTP_NOT_MOD && s->task == NOTIFICATION) { - warnx("%s: notification file not modified", s->local); + logx("%s: notification file not modified", s->local); /* no need to update state file */ rrdp_free(s); rrdp_done(id, 1);