summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-11-07 17:02:50 -0800
committerRobert Ransom <rransom.8774@gmail.com>2011-11-07 17:02:50 -0800
commit565463243c4e019bfd8dff965582f02a2aa05e14 (patch)
treee7ba43b11291c99648f92cf512582882aa5e5dd4 /src/or/rendservice.c
parent8ba1cf3007fccafa764e8f96e346354dca45f2ed (diff)
downloadtor-565463243c4e019bfd8dff965582f02a2aa05e14.tar.gz
tor-565463243c4e019bfd8dff965582f02a2aa05e14.zip
Include HiddenServiceDir in some warning messages
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 0f5731912d..25695c5e68 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -171,14 +171,17 @@ rend_add_service(rend_service_t *service)
if (service->auth_type != REND_NO_AUTH &&
smartlist_len(service->clients) == 0) {
- log_warn(LD_CONFIG, "Hidden service with client authorization but no "
- "clients; ignoring.");
+ log_warn(LD_CONFIG, "Hidden service (%s) with client authorization but no "
+ "clients; ignoring.",
+ esc_for_log(service->directory));
rend_service_free(service);
return;
}
if (!smartlist_len(service->ports)) {
- log_warn(LD_CONFIG, "Hidden service with no ports configured; ignoring.");
+ log_warn(LD_CONFIG, "Hidden service (%s) with no ports configured; "
+ "ignoring.",
+ esc_for_log(service->directory));
rend_service_free(service);
} else {
int dupe = 0;