diff --git a/CHANGELOG.md b/CHANGELOG.md index 0825c7b8d..72552a7df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). [#602](https://github.com/greenbone/openvas/pull/602) [#607](https://github.com/greenbone/openvas/pull/607) - Rename some nasl functions and func parameters for consistency and fix byte order issue in get_ipv6_element. [#613](https://github.com/greenbone/openvas/pull/613) +- Change log level from debug to message to show max_host and max_scan during scan start. [#626](https://github.com/greenbone/openvas/pull/626) ### Fixed - Fork vhosts before creating the socket.[#576](https://github.com/greenbone/openvas/pull/576) diff --git a/src/attack.c b/src/attack.c index 854bde86d..faf58d9c5 100644 --- a/src/attack.c +++ b/src/attack.c @@ -1117,10 +1117,10 @@ attack_network (struct scan_globals *globals) goto stop; hosts_init (max_hosts); - g_message ("Vulnerability scan %s started: Target has %d hosts", - globals->scan_id, gvm_hosts_count (hosts)); - g_debug (" Target(s): %s, with max_hosts = %d and max_checks = %d", hostlist, - max_hosts, max_checks); + g_message ("Vulnerability scan %s started: Target has %d hosts: " + "%s, with max_hosts = %d and max_checks = %d", + globals->scan_id, gvm_hosts_count (hosts), hostlist, max_hosts, + max_checks); if (test_alive_hosts_only) {