diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-19 14:00:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-19 14:00:28 +0100 |
commit | 93e8e6e0f7f76625794cc240a572bcd9faad9c74 (patch) | |
tree | 4cb043e395b0babae0c787eb3ce1d6a5651bcf99 /src | |
parent | ea140f783b2ff18da1f5db14ff331d0110cb5e3f (diff) | |
download | exchange-93e8e6e0f7f76625794cc240a572bcd9faad9c74.tar.xz |
-debug dbinit call
Diffstat (limited to 'src')
-rw-r--r-- | src/benchmark/taler-bank-benchmark.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/benchmark/taler-bank-benchmark.c b/src/benchmark/taler-bank-benchmark.c index 00042dfba..146d5d59f 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++) |