summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-07-07 12:45:29 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-07-07 12:45:29 +0300
commit118c35b55bb7c6f03a6a39558a35ee754b58942a (patch)
tree34a252b2ce8b1e7e6a149f39f6de65431a41f387 /src
parent3bb9b7e743c5463e4516cdd53a02c319dc825290 (diff)
downloadtor-118c35b55bb7c6f03a6a39558a35ee754b58942a.tar.gz
tor-118c35b55bb7c6f03a6a39558a35ee754b58942a.zip
Mark some log messages as used by Chutney.
Diffstat (limited to 'src')
-rw-r--r--src/feature/hs/hs_service.c3
-rw-r--r--src/feature/rend/rendservice.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index 249eb47b5d..995c1ca78b 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -2874,6 +2874,9 @@ upload_descriptor_to_hsdir(const hs_service_t *service,
hsdir->hsdir_index.store_first;
char *blinded_pubkey_log_str =
tor_strdup(hex_str((char*)&desc->blinded_kp.pubkey.pubkey, 32));
+ /* This log message is used by Chutney as part of its bootstrap
+ * detection mechanism. Please don't change without first checking
+ * Chutney. */
log_info(LD_REND, "Service %s %s descriptor of revision %" PRIu64
" initiated upload request to %s with index %s (%s)",
safe_str_client(service->onion_address),
diff --git a/src/feature/rend/rendservice.c b/src/feature/rend/rendservice.c
index 1c456cb6ee..7f2db4314c 100644
--- a/src/feature/rend/rendservice.c
+++ b/src/feature/rend/rendservice.c
@@ -3827,6 +3827,9 @@ upload_service_descriptor(rend_service_t *service)
rend_get_service_id(service->desc->pk, serviceid);
if (get_options()->PublishHidServDescriptors) {
/* Post the current descriptors to the hidden service directories. */
+ /* This log message is used by Chutney as part of its bootstrap
+ * detection mechanism. Please don't change without first checking
+ * Chutney. */
log_info(LD_REND, "Launching upload for hidden service %s",
serviceid);
directory_post_to_hs_dir(service->desc, descs, NULL, serviceid,