Mark some log messages as used by Chutney.

This commit is contained in:
George Kadianakis 2020-07-07 12:45:29 +03:00
parent 3bb9b7e743
commit 118c35b55b
2 changed files with 6 additions and 0 deletions

View File

@ -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),

View File

@ -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,