diff options
author | Ondrej Holy <oholy@redhat.com> | 2016-12-15 11:26:26 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-12-15 11:50:10 +0100 |
commit | 8dec4b1823298e754f6c6408276fe775c82dfa99 (patch) | |
tree | e3e7a83902c5e0cc8e789ba69ee863f7f49a5ff5 /daemon/gvfsjobenumerate.c | |
parent | a7b0a65898ed10d109eaa10b34a9516c0c05f774 (diff) | |
download | gvfs-8dec4b1823298e754f6c6408276fe775c82dfa99.tar.gz |
job: Do not spam journal by useless warnings
The following warnings are printed from daemons if an enumeration is
closed by a client prematurely, or a client terminates unexpectidly:
send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' ...
send_done_cb: No such interface 'org.gtk.vfs.Enumerator' ...
send_infos_cb: The connection is closed
send_done_cb: The connection is closed
Those warnings are not really useful and just spam journal. They are
usualy printed as a consequence of some client crashes. This situation
is expected and it is not cricial for daemons. Let's use g_debug
instead of them...
Diffstat (limited to 'daemon/gvfsjobenumerate.c')
-rw-r--r-- | daemon/gvfsjobenumerate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gvfsjobenumerate.c b/daemon/gvfsjobenumerate.c index bb42a3fd..f09785bb 100644 --- a/daemon/gvfsjobenumerate.c +++ b/daemon/gvfsjobenumerate.c @@ -145,7 +145,7 @@ send_infos_cb (GVfsDBusEnumerator *proxy, if (error != NULL) { g_dbus_error_strip_remote_error (error); - g_warning ("send_infos_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code); + g_debug ("send_infos_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code); g_error_free (error); } } @@ -234,7 +234,7 @@ send_done_cb (GVfsDBusEnumerator *proxy, if (error != NULL) { g_dbus_error_strip_remote_error (error); - g_warning ("send_done_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code); + g_debug ("send_done_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code); g_error_free (error); } } |