summaryrefslogtreecommitdiffstats
path: root/src/phcfg.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-14 09:02:57 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-14 09:02:57 +0100
commitcce19d91471b6a86b8dd3d255f817f49daec4885 (patch)
treef5b9d001fadd635f25773914bc9881b7381a0715 /src/phcfg.c
parent0b5471c5c0ff078b67d2bec28e7f69b50fb9179e (diff)
When loading FileOpts saved options, don't log the option by default
Diffstat (limited to 'src/phcfg.c')
-rw-r--r--src/phcfg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/phcfg.c b/src/phcfg.c
index 663b63c..409e40e 100644
--- a/src/phcfg.c
+++ b/src/phcfg.c
@@ -248,7 +248,9 @@ int file_options_load(file_enable_t *files_enable)
unsigned int cmd_length=extension_status-extension;
*extension_status='\0';
extension_status++;
- log_info("extension=%s, extension_status=%s\n", extension, extension_status);
+#ifdef DEBUG_PHCFG
+ log_debug("extension=%s, extension_status=%s", extension, extension_status);
+#endif
for(file_enable=&files_enable[0];file_enable->file_hint!=NULL;file_enable++)
{
if(file_enable->file_hint->extension!=NULL &&