diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-19 17:19:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-19 17:19:27 +0200 |
commit | 190a1fadafd65d8716f9bcf0704e2bd68c9eeedd (patch) | |
tree | 246c096bf863411b48430a4a509469d4203911ea /src/benchmark | |
parent | 0df2028f96f5977739d4659bf253e0c6d9468326 (diff) |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 4a664da52..26163d12a 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, |