Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lavabit/magma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadar Levison <ladar@lavabit.com>2019-02-27 20:34:54 +0300
committerLadar Levison <ladar@lavabit.com>2019-02-27 20:34:54 +0300
commitb60b6c5d42086a77cc4c12e745972f08cff6df07 (patch)
treea35ad4c1f91fe77780cf483d6dceb05e3daa2985
parentfa8b97cd64ff39032789c39c98b25ec65cbfbeff (diff)
When printing the signature count, disable the debug logging options.
-rw-r--r--src/providers/checkers/clamav.c5
1 files changed, 4 insertions, 1 deletions
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;
}