diff options
author | Job Snijders <job@cvs.openbsd.org> | 2022-02-14 14:47:50 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2022-02-14 14:47:50 +0000 |
commit | f012a2e2ef3ad8bcfc51964a1023f0c23ab74e2f (patch) | |
tree | 9f6d93c03e4179e1c96e4b2047331ef44c8f101e /usr.sbin | |
parent | 06f10241b656aeac1be7ecf99d4e4eac005162e7 (diff) |
Draw a bit more attention to transport switches between RRDP, RSYNC, and cache
OK claudio@ tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/repo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rpki-client/repo.c b/usr.sbin/rpki-client/repo.c index 32de2edad4a..e8db77c60f1 100644 --- a/usr.sbin/rpki-client/repo.c +++ b/usr.sbin/rpki-client/repo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: repo.c,v 1.30 2022/02/02 15:13:00 claudio Exp $ */ +/* $OpenBSD: repo.c,v 1.31 2022/02/14 14:47:49 job Exp $ */ /* * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -887,7 +887,7 @@ rsync_finish(unsigned int id, int ok) tr->state = REPO_DONE; repo_done(tr, 1); } else { - logx("ta/%s: load from network failed", tr->descr); + warnx("ta/%s: load from network failed", tr->descr); stats.rsync_fails++; tr->uriidx++; ta_fetch(tr); @@ -907,7 +907,7 @@ rsync_finish(unsigned int id, int ok) stats.rsync_repos++; rr->state = REPO_DONE; } else { - logx("%s: load from network failed, fallback to cache", + warnx("%s: load from network failed, fallback to cache", rr->basedir); stats.rsync_fails++; rr->state = REPO_FAILED; @@ -938,7 +938,7 @@ rrdp_finish(unsigned int id, int ok) stats.rrdp_repos++; rr->state = REPO_DONE; } else { - logx("%s: load from network failed, fallback to rsync", + warnx("%s: load from network failed, fallback to rsync", rr->notifyuri); stats.rrdp_fails++; rr->state = REPO_FAILED; @@ -990,7 +990,7 @@ http_finish(unsigned int id, enum http_result res, const char *last_mod) warn("unlink %s", tr->temp); tr->uriidx++; - logx("ta/%s: load from network failed", tr->descr); + warnx("ta/%s: load from network failed", tr->descr); ta_fetch(tr); } } |