diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendservice.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index d582d71f6c..620ce0be84 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -172,14 +172,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; |