From: Nathan S. Evans Date: Wed, 2 Feb 2011 12:44:35 +0000 (+0000) Subject: print warning messages about hostkey file X-Git-Tag: initial-import-from-subversion-38251~19214 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=050742cb65bd6d8c3e89bdf505702fe0fdc7e495;p=oweals%2Fgnunet.git print warning messages about hostkey file --- diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index 6505ebc4c..9500c6ef4 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c @@ -4925,7 +4925,7 @@ GNUNET_TESTING_daemons_start (const struct GNUNET_CONFIGURATION_Handle *cfg, if (GNUNET_YES != GNUNET_DISK_file_size (hostkeys_file, &fs, GNUNET_YES)) fs = 0; - GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Found file size %llu for hostkeys, expect hostkeys to be size %d\n", fs, HOSTKEYFILESIZE); + GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Found file size %llu for hostkeys, expect hostkeys to be size %d\n", fs, HOSTKEYFILESIZE); if (fs % HOSTKEYFILESIZE != 0) { @@ -4934,7 +4934,7 @@ GNUNET_TESTING_daemons_start (const struct GNUNET_CONFIGURATION_Handle *cfg, else { total_hostkeys = fs / HOSTKEYFILESIZE; - GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Will read %llu hostkeys from file\n", total_hostkeys); + GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Will read %llu hostkeys from file\n", total_hostkeys); pg->hostkey_data = GNUNET_malloc_large (fs); GNUNET_assert (fs == GNUNET_DISK_file_read (fd, pg->hostkey_data, fs)); GNUNET_assert(GNUNET_OK == GNUNET_DISK_file_close(fd));