aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2010-11-15 13:39:53 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2010-11-15 13:39:53 +0100
commitff1cf35442e0859574a2c3be725b6387dbfac64a (patch)
tree8fc23c89c61699298c9b4e6e5e5fd2a632f0ebe7 /src/or/router.c
parentcec21652a7c939d1112591347e35c0815de63f93 (diff)
downloadtor-ff1cf35442e0859574a2c3be725b6387dbfac64a.tar
tor-ff1cf35442e0859574a2c3be725b6387dbfac64a.tar.gz
Don't use log_err for non-criticial warnings.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 5c137aa77..72c32d5ea 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2053,9 +2053,9 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
"Descriptor was: <<%s>>", s);
goto nostats;
} else {
- log_err(LD_BUG, "We just generated an extra-info descriptors that "
- "exceeds the 50 KB upload limit. Descriptor was: "
- "<<%s>>", s);
+ log_warn(LD_BUG, "We just generated an extra-info descriptors that "
+ "exceeds the 50 KB upload limit. Descriptor was: "
+ "<<%s>>", s);
goto err;
}
}
@@ -2065,8 +2065,8 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
if (router_get_extrainfo_hash(s, digest) < 0 ||
router_append_dirobj_signature(sig, sizeof(sig), digest, DIGEST_LEN,
ident_key) < 0) {
- log_err(LD_BUG, "Could not append signature to extra-info "
- "descriptor. Descriptor was: <<%s>>", s);
+ log_warn(LD_BUG, "Could not append signature to extra-info descriptor. "
+ "Descriptor was: <<%s>>", s);
goto err;
}
smartlist_add(chunks, tor_strdup(sig));
@@ -2084,8 +2084,8 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
"<<%s>>", s);
goto nostats;
} else {
- log_err(LD_BUG, "We just generated an extrainfo descriptor we "
- "can't parse. Descriptor was: <<%s>>", s);
+ log_warn(LD_BUG, "We just generated an extrainfo descriptor we can't "
+ "parse. Descriptor was: <<%s>>", s);
goto err;
}
}