From b60b6c5d42086a77cc4c12e745972f08cff6df07 Mon Sep 17 00:00:00 2001 From: Ladar Levison Date: Wed, 27 Feb 2019 11:34:54 -0600 Subject: When printing the signature count, disable the debug logging options. --- src/providers/checkers/clamav.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/providers/checkers/clamav.c b/src/providers/checkers/clamav.c index e057c40a..73e6fe57 100644 --- a/src/providers/checkers/clamav.c +++ b/src/providers/checkers/clamav.c @@ -237,7 +237,10 @@ bool_t virus_start(void) { stats_set_by_name("provider.virus.signatures.total", virus_sigs_total()); // TODO: Create function to load each signature database found inside the ClamAV directory, and then output the ver/sig count using cl_cvdparse(). - log_pedantic("------------------------------- SIGNATURES -------------------------------\n%-10.10s %63.lu\n%-10.10s %63.lu\n", "LOADED:", loaded, "AVAILABLE:", virus_sigs_total()); + log_options(M_LOG_INFO | M_LOG_TIME_DISABLE | M_LOG_FILE_DISABLE | M_LOG_LINE_DISABLE | M_LOG_FUNCTION_DISABLE | M_LOG_STACK_TRACE_DISABLE | M_LOG_LINE_FEED_DISABLE, \ + "------------------------------- SIGNATURES -------------------------------\n" \ + "%-10.10s %63.lu\n%-10.10s %63.lu\n", \ + "LOADED:", loaded, "AVAILABLE:", virus_sigs_total()); return true; } -- cgit v1.2.3