Skip to content

Commit

Permalink
Change: Change some migration and OSP warnings to info
Browse files Browse the repository at this point in the history
Merge pull request #1763 from timopollmeier/change-warnings
  • Loading branch information
timopollmeier authored Dec 10, 2021
2 parents 9331a49 + db28f56 commit b3cced2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2528,7 +2528,7 @@ gvmd (int argc, char** argv)
g_info (" Migration succeeded.");
return EXIT_SUCCESS;
case 1:
g_warning ("%s: databases are already at the supported version",
g_info ("%s: databases are already at the supported version",
__func__);
return EXIT_SUCCESS;
case 2:
Expand Down
8 changes: 6 additions & 2 deletions src/manage_sql_nvts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1959,8 +1959,12 @@ osp_scanner_feed_version (const gchar *update_socket)
error = NULL;
if (osp_get_vts_version (connection, &scanner_feed_version, &error))
{
g_warning ("%s: failed to get scanner_feed_version. %s",
__func__, error ? : "");
if (error && strcmp (error, "OSPd OpenVAS is still starting") == 0)
g_info ("%s: failed to get scanner_feed_version. %s",
__func__, error);
else
g_warning ("%s: failed to get scanner_feed_version. %s",
__func__, error ? : "");
g_free (error);
osp_connection_close (connection);
return NULL;
Expand Down

0 comments on commit b3cced2

Please sign in to comment.