[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: Give default loglev
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: Give default loglev at benchmark. |
Date: |
Wed, 25 Jul 2018 13:36:55 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 3af3a9f Give default loglev at benchmark.
3af3a9f is described below
commit 3af3a9fdc374bbbb8f6f4e243ebf4bc2d36e3138
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 25 13:36:33 2018 +0200
Give default loglev at benchmark.
---
src/benchmark/taler-exchange-benchmark.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/benchmark/taler-exchange-benchmark.c
b/src/benchmark/taler-exchange-benchmark.c
index abe57b1..bfeb6f7 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -321,12 +321,6 @@ main (int argc,
char *const *argv)
{
struct GNUNET_CONFIGURATION_Handle *cfg;
-
- loglev = NULL;
- GNUNET_log_setup ("taler-exchange-benchmark",
- loglev,
- logfile);
-
struct GNUNET_GETOPT_CommandLineOption options[] = {
GNUNET_GETOPT_option_cfgfile
@@ -376,6 +370,10 @@ main (int argc,
return BAD_CLI_ARG;
}
+ GNUNET_log_setup ("taler-exchange-benchmark",
+ NULL == loglev ? "INFO" : loglev,
+ logfile);
+
if (NULL == cfg_filename)
{
TALER_LOG_ERROR ("-c option is mandatory\n");
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: Give default loglev at benchmark.,
gnunet <=