logging: disable all debug messages in non-debug build

For consistency, don't print debug messages that are compiled in due to
using the LOG macro instead of DEBUG_LOG.
This commit is contained in:
Miroslav Lichvar
2019-11-19 14:59:21 +01:00
parent 07badbede7
commit c7223f4c8f
2 changed files with 4 additions and 1 deletions

View File

@@ -3208,7 +3208,9 @@ main(int argc, char **argv)
csv_mode = 1;
break;
case 'd':
#if DEBUG > 0
log_min_severity = LOGS_DEBUG;
#endif
break;
case 'h':
hostnames = optarg;