diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-05-10 20:12:15 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-05-10 20:12:15 +0200 |
commit | 80c84eca36fb6b26b35b394c0820d740d81a5076 (patch) | |
tree | 2ba29f934f959c7405b1521261f4ae8d9e9b70c7 /src/lib | |
parent | df31a863cc36af8cdf03a88b1419ccd39ef637d5 (diff) |
Create async scopes.
Log statements contain an async scope identifier, which allows to
correlate logs from the same request.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/test_merchant_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index e373e6b7..344112d9 100644 --- a/src/lib/test_merchant_api.c +++ b/src/lib/test_merchant_api.c @@ -4995,6 +4995,7 @@ run (void *cls) GNUNET_assert (ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule, &rc)); + GNUNET_CURL_enable_async_scope_header (ctx, "Taler-Correlation-Id"); rc = GNUNET_CURL_gnunet_rc_create (ctx); GNUNET_assert (NULL != (exchange = TALER_EXCHANGE_connect (ctx, |