From f250e015d4ed3d97c82c91e65d7b4c2dce5c27fb Mon Sep 17 00:00:00 2001 From: Juan Jose Nicola Date: Thu, 22 Apr 2021 16:02:50 +0200 Subject: [PATCH] Remove deprecated option logfile. The log configuration is loaded from openvas_log.conf. --- CHANGELOG.md | 1 + src/utils.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a0b3ff46..f71f54c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - Remove code from the openvas daemon era. Do not flushall redis. [#689](https://github.com/greenbone/openvas/pull/689) +- Remove deprecated option logfile. [#713](https://github.com/greenbone/openvas/pull/713) [20.08.2]: https://github.com/greenbone/openvas/compare/v20.8.0...openvas-20.08 diff --git a/src/utils.c b/src/utils.c index 7df13d9dd..36db6f00a 100644 --- a/src/utils.c +++ b/src/utils.c @@ -245,8 +245,7 @@ is_scanner_only_pref (const char *pref) { if (pref == NULL) return 0; - if (!strcmp (pref, "logfile") || !strcmp (pref, "config_file") - || !strcmp (pref, "plugins_folder") + if (!strcmp (pref, "config_file") || !strcmp (pref, "plugins_folder") || !strcmp ( pref, "kb_location") // old name of db_address, ignore from old conf's