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
path: root/src
diff options
context:
space:
mode:
authorLadar Levison <ladar@lavabit.com>2019-02-27 20:34:54 +0300
committerLadar Levison <ladar@users.noreply.github.com>2019-03-07 00:09:38 +0300
commitdf3bb7c5f22fa9dcf589d6f1eb804ec270d4e90f (patch)
treea35ad4c1f91fe77780cf483d6dceb05e3daa2985 /src
parentdaaef3c5d915e22691bac2d8883095d853ce407c (diff)
When printing the signature count, disable the debug logging options.
Diffstat (limited to 'src')
-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;
}