From 050742cb65bd6d8c3e89bdf505702fe0fdc7e495 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 2 Feb 2011 12:44:35 +0000 Subject: [PATCH] print warning messages about hostkey file --- src/testing/testing_group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.25.1