gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -debug dbinit call


From: gnunet
Subject: [taler-exchange] branch master updated: -debug dbinit call
Date: Mon, 19 Dec 2022 14:00:31 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 93e8e6e0 -debug dbinit call
93e8e6e0 is described below

commit 93e8e6e0f7f76625794cc240a572bcd9faad9c74
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 19 14:00:28 2022 +0100

    -debug dbinit call
---
 src/benchmark/taler-bank-benchmark.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/benchmark/taler-bank-benchmark.c 
b/src/benchmark/taler-bank-benchmark.c
index 00042dfb..146d5d59 100644
--- a/src/benchmark/taler-bank-benchmark.c
+++ b/src/benchmark/taler-bank-benchmark.c
@@ -552,16 +552,20 @@ parallel_benchmark (void)
 
     {
       struct GNUNET_OS_Process *dbinit;
+      char buf[1024];
 
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                  "Running DB init with `%s'\n",
-                  cfg_filename);
+                  "Running DB init with `%s' at %s\n",
+                  cfg_filename,
+                  getcwd (buf));
       dbinit = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ALL,
                                         NULL, NULL, NULL,
                                         "taler-exchange-dbinit",
                                         "taler-exchange-dbinit",
                                         "-c", cfg_filename,
                                         "-r",
+                                        (NULL != loglev) ? "-L" : NULL,
+                                        loglev,
                                         NULL);
       if (NULL == dbinit)
       {
@@ -577,6 +581,9 @@ parallel_benchmark (void)
       GNUNET_break (GNUNET_OK ==
                     GNUNET_OS_process_wait (dbinit));
       GNUNET_OS_process_destroy (dbinit);
+      GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                  "Done with DB init with `%s'\n",
+                  cfg_filename);
     }
     /* start exchange wirewatch */
     for (unsigned int w = 0; w<start_wirewatch; w++)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]