Skip to content

Commit

Permalink
Remove deprecated option logfile.
Browse files Browse the repository at this point in the history
The log configuration is loaded from openvas_log.conf.
  • Loading branch information
jjnicola committed Apr 22, 2021
1 parent 10dcbd6 commit f250e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f250e01

Please sign in to comment.