diff options
author | Florian Dold <florian@dold.me> | 2021-01-11 12:16:05 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-11 12:17:02 +0100 |
commit | 523e8109c606734c26b8d531518dd7d35d849283 (patch) | |
tree | 7a83de812a73af830952b2311ba3cab06f38e774 | |
parent | 7de305af405fa04da82684c1921fb3c636434a3b (diff) |
set up logging properly for merchant httpd
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index bf1c4db3..0ae89b76 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -1692,7 +1692,10 @@ run (void *cls, if (merchant_connection_close) go |= TALER_MHD_GO_FORCE_CONNECTION_CLOSE; TALER_MHD_setup (go); - + GNUNET_assert (GNUNET_OK == + GNUNET_log_setup ("taler-merchant-httpd", + (NULL == loglev) ? "INFO" : loglev, + logfile)); result = GNUNET_SYSERR; GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); |