/*
- * Copyright (C) 2015-2018 "IoT.bzh"
+ * Copyright (C) 2015-2019 "IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
"\n"
" afs-supervisor [Application Framework Supervisor] version="AFB_VERSION"\n"
"\n"
- " Copyright (C) 2015-2018 \"IoT.bzh\"\n"
+ " Copyright (C) 2015-2019 \"IoT.bzh\"\n"
" afs-supervisor comes with ABSOLUTELY NO WARRANTY.\n"
" Licence Apache 2\n"
"\n";
while ((optc = getopt_long(argc, argv, shortopts, gnuOptions, NULL)) != EOF) {
switch (optc) {
case SET_VERBOSE:
- verbosity++;
+ verbose_inc();
break;
case SET_QUIET:
- verbosity--;
+ verbose_dec();
break;
case SET_TCP_PORT:
parse_environment(result);
parse_arguments(argc, argv, result);
fulfill_config(result);
- if (verbosity >= 3)
+ if (verbose_wants(Log_Level_Info))
afs_config_dump(result);
return result;
}