diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-22 12:57:40 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-22 12:57:40 +0900 |
commit | 1436e4266673df53f1a692e4c9c9a74d621b0a8e (patch) | |
tree | bc4607fdd30cee930442dfe9d473f3203b8a2321 /src/namestore | |
parent | eeded1180f04913c9c324ca04e32234c6a920304 (diff) | |
download | gnunet-1436e4266673df53f1a692e4c9c9a74d621b0a8e.tar.gz gnunet-1436e4266673df53f1a692e4c9c9a74d621b0a8e.zip |
-make graceful failures DEBUG error messages
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 2 | ||||
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index 240cc40ec..d453bc977 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c | |||
@@ -235,7 +235,7 @@ database_connect (struct Plugin *plugin) | |||
235 | &emsg, | 235 | &emsg, |
236 | GNUNET_NO)) | 236 | GNUNET_NO)) |
237 | { | 237 | { |
238 | LOG (GNUNET_ERROR_TYPE_WARNING, | 238 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
239 | "Failed to initialize database on connect: `%s'\n", | 239 | "Failed to initialize database on connect: `%s'\n", |
240 | emsg); | 240 | emsg); |
241 | GNUNET_free (emsg); | 241 | GNUNET_free (emsg); |
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index ca0d9c81c..1602da4ab 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -908,7 +908,7 @@ database_connect (struct Plugin *plugin) | |||
908 | */ | 908 | */ |
909 | if (GNUNET_OK != init_database (plugin, &emsg, GNUNET_NO)) | 909 | if (GNUNET_OK != init_database (plugin, &emsg, GNUNET_NO)) |
910 | { | 910 | { |
911 | LOG (GNUNET_ERROR_TYPE_WARNING, | 911 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
912 | "Failed to initialize database on connect: `%s'\n", | 912 | "Failed to initialize database on connect: `%s'\n", |
913 | emsg); | 913 | emsg); |
914 | GNUNET_free (emsg); | 914 | GNUNET_free (emsg); |