Skip to content

Commit

Permalink
Change several log levels from NOTICE to INFO
Browse files Browse the repository at this point in the history
Lowering the priority of normal progress messages makes it easier for users to notice the messages they might need to do something about.
  • Loading branch information
andrew-sayers authored Jan 20, 2025
1 parent 8ffd11c commit 0cc9958
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ on_name_acquired (GDBusConnection *connection,
const gchar *name,
gpointer user_data)
{
udisks_notice ("Acquired the name %s on the system message bus", name);
udisks_info ("Acquired the name %s on the system message bus", name);
}

static gboolean
Expand Down Expand Up @@ -147,7 +147,7 @@ main (int argc,
if (g_getenv ("PATH") == NULL)
g_setenv ("PATH", "/usr/bin:/bin:/usr/sbin:/sbin", TRUE);

udisks_notice ("udisks daemon version %s starting", PACKAGE_VERSION);
udisks_info ("udisks daemon version %s starting", PACKAGE_VERSION);

if (! bd_utils_get_linux_version (&error))
{
Expand Down Expand Up @@ -197,7 +197,7 @@ main (int argc,
if (opt_context != NULL)
g_option_context_free (opt_context);

udisks_notice ("udisks daemon version %s exiting", PACKAGE_VERSION);
udisks_info ("udisks daemon version %s exiting", PACKAGE_VERSION);

return ret;
}

0 comments on commit 0cc9958

Please sign in to comment.