diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-07-29 12:52:10 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-07-29 12:52:10 +0200 |
commit | 66adf468c4534397c37f8e698c5a2cd401749ca2 (patch) | |
tree | bbf7479ad28f1827dd0407311c337f5854122aba /src/ipcpd/normal/dir.c | |
parent | 59ce015771719f4a0de14ef6bf91887dc8cf5966 (diff) | |
download | ouroboros-66adf468c4534397c37f8e698c5a2cd401749ca2.tar.gz ouroboros-66adf468c4534397c37f8e698c5a2cd401749ca2.zip |
ipcpd: Harmonize logs in directory
Diffstat (limited to 'src/ipcpd/normal/dir.c')
-rw-r--r-- | src/ipcpd/normal/dir.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ipcpd/normal/dir.c b/src/ipcpd/normal/dir.c index 697c02da..69b7e90e 100644 --- a/src/ipcpd/normal/dir.c +++ b/src/ipcpd/normal/dir.c @@ -114,10 +114,12 @@ int dir_init() sleep(ENROL_INTV); } + log_dbg("Directory enrolled."); + return 0; } - log_dbg("Bootstrapping DHT."); + log_dbg("Bootstrapping directory."); /* TODO: get parameters for bootstrap from IRM tool. */ if (dht_bootstrap(dht, KAD_B, 86400)) { @@ -125,6 +127,8 @@ int dir_init() return -ENOMEM; } + log_dbg("Directory bootstrapped."); + return 0; } |