summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-19 17:19:27 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-19 17:19:27 +0200
commit190a1fadafd65d8716f9bcf0704e2bd68c9eeedd (patch)
tree246c096bf863411b48430a4a509469d4203911ea /src/benchmark
parent0df2028f96f5977739d4659bf253e0c6d9468326 (diff)
downloadexchange-190a1fadafd65d8716f9bcf0704e2bd68c9eeedd.tar.gz
exchange-190a1fadafd65d8716f9bcf0704e2bd68c9eeedd.tar.bz2
exchange-190a1fadafd65d8716f9bcf0704e2bd68c9eeedd.zip
re-init logging so we can tell by PID who it is
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index 4a664da5..26163d12 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -571,6 +571,9 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
fakebank = fork ();
if (0 == fakebank)
{
+ GNUNET_log_setup ("benchmark-fakebank",
+ NULL == loglev ? "INFO" : loglev,
+ logfile);
GNUNET_SCHEDULER_run (&launch_fakebank,
exchange_bank_account.bank_base_url);
exit (0);
@@ -686,6 +689,9 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
if (0 == (cpids[i] = fork ()))
{
/* I am the child, do the work! */
+ GNUNET_log_setup ("benchmark-worker",
+ NULL == loglev ? "INFO" : loglev,
+ logfile);
result = TALER_TESTING_setup
(run,
NULL,