Skip to content

Commit

Permalink
Change: Log client command errors only as debug message
Browse files Browse the repository at this point in the history
Using info could spam the log when an erroneous client is used. Also
when a client requests a disabled command like getting the license this
is logged as info currently which confused our community users.
  • Loading branch information
bjoernricks committed Aug 18, 2022
1 parent 9afd2f5 commit b86adb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -26618,7 +26618,7 @@ process_gmp_client_input ()
g_debug (" client error: G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE");
else
err = -1;
g_info (" Failed to parse client XML: %s", error->message);
g_debug (" Failed to parse client XML: %s", error->message);
g_error_free (error);
}
else
Expand Down Expand Up @@ -26733,7 +26733,7 @@ process_gmp (gmp_parser_t *parser, const gchar *command, gchar **response)
g_debug (" client error: G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE");
else
err = -1;
g_info (" Failed to parse client XML: %s", error->message);
g_debug (" Failed to parse client XML: %s", error->message);
g_error_free (error);
}
else
Expand Down

0 comments on commit b86adb9

Please sign in to comment.