Give default loglev at benchmark.
This commit is contained in:
parent
de925a3556
commit
3af3a9fdc3
@ -321,12 +321,6 @@ main (int argc,
|
|||||||
char *const *argv)
|
char *const *argv)
|
||||||
{
|
{
|
||||||
struct GNUNET_CONFIGURATION_Handle *cfg;
|
struct GNUNET_CONFIGURATION_Handle *cfg;
|
||||||
|
|
||||||
loglev = NULL;
|
|
||||||
GNUNET_log_setup ("taler-exchange-benchmark",
|
|
||||||
loglev,
|
|
||||||
logfile);
|
|
||||||
|
|
||||||
struct GNUNET_GETOPT_CommandLineOption options[] = {
|
struct GNUNET_GETOPT_CommandLineOption options[] = {
|
||||||
|
|
||||||
GNUNET_GETOPT_option_cfgfile
|
GNUNET_GETOPT_option_cfgfile
|
||||||
@ -376,6 +370,10 @@ main (int argc,
|
|||||||
return BAD_CLI_ARG;
|
return BAD_CLI_ARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GNUNET_log_setup ("taler-exchange-benchmark",
|
||||||
|
NULL == loglev ? "INFO" : loglev,
|
||||||
|
logfile);
|
||||||
|
|
||||||
if (NULL == cfg_filename)
|
if (NULL == cfg_filename)
|
||||||
{
|
{
|
||||||
TALER_LOG_ERROR ("-c option is mandatory\n");
|
TALER_LOG_ERROR ("-c option is mandatory\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user