Add rhizome sync logging to 'rhizomeprotocol' test

This commit is contained in:
Andrew Bettison 2012-07-10 20:00:20 +09:30
parent 42744da371
commit 69ff860b4f
2 changed files with 4 additions and 1 deletions

2
log.c
View File

@ -205,7 +205,7 @@ unsigned int debugFlagMask(const char *flagname) {
else if (!strcasecmp(flagname,"routing")) return DEBUG_OVERLAYROUTING;
else if (!strcasecmp(flagname,"security")) return DEBUG_SECURITY;
else if (!strcasecmp(flagname,"rhizome")) return DEBUG_RHIZOME;
else if (!strcasecmp(flagname,"filesync")) return DEBUG_RHIZOMESYNC;
else if (!strcasecmp(flagname,"rhizomesync")) return DEBUG_RHIZOMESYNC;
else if (!strcasecmp(flagname,"monitorroutes")) return DEBUG_OVERLAYROUTEMONITOR;
else if (!strcasecmp(flagname,"queues")) return DEBUG_QUEUES;
else if (!strcasecmp(flagname,"broadcasts")) return DEBUG_BROADCASTS;

View File

@ -41,6 +41,9 @@ setup_rhizome() {
# Called by start_servald_instances.
configure_servald_server() {
executeOk_servald config set debug.rhizome on
executeOk_servald config set debug.rhizomesync on
executeOk_servald config set mdp.wifi.tick_ms 100
executeOk_servald config set mdp.selfannounce.ticks_per_full_address 1
}
doc_FileTransferNew="Initial list is empty"