diff options
-rw-r--r-- | ChangeLog | 27 | ||||
-rw-r--r-- | daemon/daemon-main.c | 2 | ||||
-rw-r--r-- | daemon/gvfsbackend.c | 2 | ||||
-rw-r--r-- | daemon/gvfsbackendburn.c | 3 | ||||
-rw-r--r-- | daemon/gvfsbackenddav.c | 16 | ||||
-rw-r--r-- | daemon/gvfsbackendhttp.c | 4 | ||||
-rw-r--r-- | daemon/gvfsbackendobexftp.c | 44 | ||||
-rw-r--r-- | daemon/gvfsbackendtrash.c | 2 | ||||
-rw-r--r-- | daemon/gvfsdaemon.c | 4 | ||||
-rw-r--r-- | daemon/gvfsjobcloseread.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobclosewrite.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobcopy.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobdbus.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobenumerate.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobmount.c | 6 | ||||
-rw-r--r-- | daemon/gvfsjobmove.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobpull.c | 4 | ||||
-rw-r--r-- | daemon/gvfsjobpush.c | 4 | ||||
-rw-r--r-- | daemon/gvfsjobread.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobseekread.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobseekwrite.c | 2 | ||||
-rw-r--r-- | daemon/gvfsjobunmount.c | 6 | ||||
-rw-r--r-- | daemon/gvfsjobwrite.c | 2 | ||||
-rw-r--r-- | daemon/mount.c | 2 |
24 files changed, 85 insertions, 61 deletions
@@ -1,5 +1,32 @@ 2009-03-06 Alexander Larsson <alexl@redhat.com> + * daemon/daemon-main.c: + * daemon/gvfsbackend.c: + * daemon/gvfsbackendburn.c: + * daemon/gvfsbackenddav.c: + * daemon/gvfsbackendhttp.c: + * daemon/gvfsbackendobexftp.c: + * daemon/gvfsbackendtrash.c: + * daemon/gvfsdaemon.c: + * daemon/gvfsjobcloseread.c: + * daemon/gvfsjobclosewrite.c: + * daemon/gvfsjobcopy.c: + * daemon/gvfsjobdbus.c: + * daemon/gvfsjobenumerate.c: + * daemon/gvfsjobmount.c: + * daemon/gvfsjobmove.c: + * daemon/gvfsjobpull.c: + * daemon/gvfsjobpush.c: + * daemon/gvfsjobread.c: + * daemon/gvfsjobseekread.c: + * daemon/gvfsjobseekwrite.c: + * daemon/gvfsjobunmount.c: + * daemon/gvfsjobwrite.c: + * daemon/mount.c: + Convert all spew to g_debug() + +2009-03-06 Alexander Larsson <alexl@redhat.com> + Bug 535814 – hangup on g_input_stream_close after cancelling from other thread * daemon/gvfschannel.c: Reverted patch from bug 522192 as it caused bug 535814. diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c index b3b2b477..ea37930f 100644 --- a/daemon/daemon-main.c +++ b/daemon/daemon-main.c @@ -162,7 +162,7 @@ daemon_parse_args (int argc, char *argv[], const char *default_type) found_type = TRUE; g_mount_spec_set (mount_spec, key, p+1); - g_print ("setting '%s' to '%s'\n", key, p+1); + g_debug ("setting '%s' to '%s'\n", key, p+1); g_free (key); } diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c index 8f2bc9cc..0eb36048 100644 --- a/daemon/gvfsbackend.c +++ b/daemon/gvfsbackend.c @@ -481,7 +481,7 @@ backend_dbus_handler (DBusConnection *connection, job = NULL; - g_print ("backend_dbus_handler %s:%s\n", + g_debug ("backend_dbus_handler %s:%s\n", dbus_message_get_interface (message), dbus_message_get_member (message)); diff --git a/daemon/gvfsbackendburn.c b/daemon/gvfsbackendburn.c index a4184bdc..eddb47a1 100644 --- a/daemon/gvfsbackendburn.c +++ b/daemon/gvfsbackendburn.c @@ -708,8 +708,6 @@ try_query_info (GVfsBackend *backend, { VirtualNode *node; - g_print ("q_i: filename: %s\n", filename); - node = virtual_node_lookup (G_VFS_BACKEND_BURN (backend)->root_node, filename, NULL); if (node == NULL) @@ -895,7 +893,6 @@ try_push (GVfsBackend *backend, return TRUE; } - g_print ("file: %p, overwrite: %u\n", file, flags & G_FILE_COPY_OVERWRITE); if (file != NULL) { if (flags & G_FILE_COPY_OVERWRITE) diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c index ac1eee7c..aee90348 100644 --- a/daemon/gvfsbackenddav.c +++ b/daemon/gvfsbackenddav.c @@ -1245,7 +1245,7 @@ soup_authenticate_from_data (SoupSession *session, MountAuthData *data; AuthInfo *info; - g_print ("+ soup_authenticate_from_data (%s) \n", + g_debug ("+ soup_authenticate_from_data (%s) \n", retrying ? "retrying" : "first auth"); if (retrying) @@ -1281,7 +1281,7 @@ soup_authenticate_interactive (SoupSession *session, char *new_password; char *prompt; - g_print ("+ soup_authenticate_interactive (%s) \n", + g_debug ("+ soup_authenticate_interactive (%s) \n", retrying ? "retrying" : "first auth"); data = (MountAuthData *) user_data; @@ -1389,7 +1389,7 @@ soup_authenticate_interactive (SoupSession *session, else soup_session_cancel_message (session, msg, SOUP_STATUS_CANCELLED); - g_print ("- soup_authenticate \n"); + g_debug ("- soup_authenticate \n"); g_free (prompt); } @@ -1584,7 +1584,7 @@ do_mount (GVfsBackend *backend, const char *host; const char *type; - g_print ("+ mount\n"); + g_debug ("+ mount\n"); host = g_mount_spec_get (mount_spec, "host"); type = g_mount_spec_get (mount_spec, "type"); @@ -1747,7 +1747,7 @@ do_mount (GVfsBackend *backend, data); g_vfs_job_succeeded (G_VFS_JOB (job)); - g_print ("- mount\n"); + g_debug ("- mount\n"); } static PropName ls_propnames[] = { @@ -1778,7 +1778,7 @@ do_query_info (GVfsBackend *backend, error = NULL; - g_print ("Query info %s\n", filename); + g_debug ("Query info %s\n", filename); msg = propfind_request_new (backend, filename, 0, ls_propnames); @@ -1851,7 +1851,7 @@ do_enumerate (GVfsBackend *backend, error = NULL; - g_print ("+ do_enumerate: %s\n", filename); + g_debug ("+ do_enumerate: %s\n", filename); msg = propfind_request_new (backend, filename, 1, ls_propnames); @@ -2278,7 +2278,7 @@ do_set_display_name (GVfsBackend *backend, if (SOUP_STATUS_IS_SUCCESSFUL (status)) { - g_print ("new target_path: %s\n", target_path); + g_debug ("new target_path: %s\n", target_path); g_vfs_job_set_display_name_set_new_path (job, target_path); g_vfs_job_succeeded (G_VFS_JOB (job)); } diff --git a/daemon/gvfsbackendhttp.c b/daemon/gvfsbackendhttp.c index 5b4391a0..45ea54da 100644 --- a/daemon/gvfsbackendhttp.c +++ b/daemon/gvfsbackendhttp.c @@ -297,7 +297,7 @@ try_mount (GVfsBackend *backend, if (uri_str) uri = soup_uri_new (uri_str); - g_print ("+ try_mount: %s\n", uri_str ? uri_str : "(null)"); + g_debug ("+ try_mount: %s\n", uri_str ? uri_str : "(null)"); if (uri == NULL) { @@ -554,7 +554,7 @@ query_info_ready (SoupSession *session, uri = soup_message_get_uri (msg); basename = http_uri_get_basename (uri->path); - g_print ("basename:%s\n", basename); + g_debug ("basename:%s\n", basename); /* read http/1.1 rfc, until then we copy the local files * behaviour */ diff --git a/daemon/gvfsbackendobexftp.c b/daemon/gvfsbackendobexftp.c index 561075ce..f3b1517f 100644 --- a/daemon/gvfsbackendobexftp.c +++ b/daemon/gvfsbackendobexftp.c @@ -634,7 +634,7 @@ _query_file_info_helper (GVfsBackend *backend, GList *elements, *l; gboolean found; - g_print ("+ _query_file_info_helper, filename: %s\n", filename); + g_debug ("+ _query_file_info_helper, filename: %s\n", filename); if (strcmp (filename, "/") == 0) { @@ -706,7 +706,7 @@ _query_file_info_helper (GVfsBackend *backend, g_list_foreach (elements, (GFunc)g_object_unref, NULL); g_list_free (elements); - g_print ("- _query_file_info_helper\n"); + g_debug ("- _query_file_info_helper\n"); return found; } @@ -825,7 +825,7 @@ do_mount (GVfsBackend *backend, GMountSpec *obexftp_mount_spec; guint count; - g_print ("+ do_mount\n"); + g_debug ("+ do_mount\n"); device = g_mount_spec_get (mount_spec, "host"); @@ -894,7 +894,7 @@ do_mount (GVfsBackend *backend, op_backend->display_name = g_strdelimit (g_strdup (op_backend->bdaddr), ":", '-'); if (!op_backend->icon_name) op_backend->icon_name = g_strdup ("bluetooth"); - g_print (" do_mount: %s (%s) mounted\n", op_backend->display_name, op_backend->bdaddr); + g_debug (" do_mount: %s (%s) mounted\n", op_backend->display_name, op_backend->bdaddr); } else { @@ -906,7 +906,7 @@ do_mount (GVfsBackend *backend, g_error_free (error); return; } - g_print (" do_mount: usb interface %d mounted\n", op_backend->usbintfnum); + g_debug (" do_mount: usb interface %d mounted\n", op_backend->usbintfnum); } g_vfs_job_set_backend_data (G_VFS_JOB (job), backend, NULL); @@ -990,7 +990,7 @@ do_mount (GVfsBackend *backend, g_vfs_job_succeeded (G_VFS_JOB (job)); - g_print ("- do_mount\n"); + g_debug ("- do_mount\n"); } static void @@ -1020,7 +1020,7 @@ do_open_for_read (GVfsBackend *backend, goffset size; int fd, success; - g_print ("+ do_open_for_read, filename: %s\n", filename); + g_debug ("+ do_open_for_read, filename: %s\n", filename); g_mutex_lock (op_backend->mutex); op_backend->doing_io = TRUE; @@ -1148,7 +1148,7 @@ do_open_for_read (GVfsBackend *backend, handle->size = size; g_vfs_job_open_for_read_set_handle (job, handle); - g_print ("- do_open_for_read, filename: %s\n", filename); + g_debug ("- do_open_for_read, filename: %s\n", filename); g_vfs_job_open_for_read_set_can_seek (G_VFS_JOB_OPEN_FOR_READ (job), FALSE); g_vfs_job_succeeded (G_VFS_JOB (job)); @@ -1233,7 +1233,7 @@ do_close_read (GVfsBackend *backend, ObexFTPOpenHandle *backend_handle = (ObexFTPOpenHandle *) handle; int busy; - g_print ("+ do_close_read\n"); + g_debug ("+ do_close_read\n"); busy = is_busy (op_backend->session_proxy, G_VFS_JOB (job)); if (busy < 0) { @@ -1263,7 +1263,7 @@ do_close_read (GVfsBackend *backend, g_vfs_job_succeeded (G_VFS_JOB (job)); - g_print ("- do_close_read\n"); + g_debug ("- do_close_read\n"); } static void @@ -1277,7 +1277,7 @@ do_query_info (GVfsBackend *backend, GVfsBackendObexftp *op_backend = G_VFS_BACKEND_OBEXFTP (backend); GError *error = NULL; - g_print ("+ do_query_info, filename: %s\n", filename); + g_debug ("+ do_query_info, filename: %s\n", filename); g_mutex_lock (op_backend->mutex); @@ -1293,7 +1293,7 @@ do_query_info (GVfsBackend *backend, g_vfs_job_succeeded (G_VFS_JOB (job)); - g_print ("- do_query_info\n"); + g_debug ("- do_query_info\n"); return; } @@ -1314,7 +1314,7 @@ do_query_fs_info (GVfsBackend *backend, GList *l; gboolean has_free_memory; - g_print ("+ do_query_fs_info, filename: %s\n", filename); + g_debug ("+ do_query_fs_info, filename: %s\n", filename); g_mutex_lock (op_backend->mutex); @@ -1434,7 +1434,7 @@ set_info_from_memory: g_mutex_unlock (op_backend->mutex); - g_print ("- do_query_fs_info\n"); + g_debug ("- do_query_fs_info\n"); } static void @@ -1449,7 +1449,7 @@ do_enumerate (GVfsBackend *backend, char *files; GList *elements = NULL; - g_print ("+ do_enumerate, filename: %s\n", filename); + g_debug ("+ do_enumerate, filename: %s\n", filename); g_mutex_lock (op_backend->mutex); @@ -1502,7 +1502,7 @@ do_enumerate (GVfsBackend *backend, g_mutex_unlock (op_backend->mutex); - g_print ("- do_enumerate\n"); + g_debug ("- do_enumerate\n"); } typedef struct { @@ -1688,7 +1688,7 @@ do_push (GVfsBackend *backend, PushData *job_data; GFileInfo *info; - g_print ("+ do_push, destination: %s, local_path: %s\n", destination, local_path); + g_debug ("+ do_push, destination: %s, local_path: %s\n", destination, local_path); g_mutex_lock (op_backend->mutex); op_backend->doing_io = TRUE; @@ -1822,7 +1822,7 @@ do_push (GVfsBackend *backend, op_backend->doing_io = FALSE; g_mutex_unlock (op_backend->mutex); - g_print ("- do_push\n"); + g_debug ("- do_push\n"); } static void @@ -1835,7 +1835,7 @@ do_delete (GVfsBackend *backend, GError *error = NULL; GFileInfo *info; - g_print ("+ do_delete, filename: %s\n", filename); + g_debug ("+ do_delete, filename: %s\n", filename); g_mutex_lock (op_backend->mutex); @@ -1983,7 +1983,7 @@ do_delete (GVfsBackend *backend, g_mutex_unlock (op_backend->mutex); - g_print ("- do_delete\n"); + g_debug ("- do_delete\n"); } static void @@ -1996,7 +1996,7 @@ do_make_directory (GVfsBackend *backend, GError *error = NULL; GFileInfo *info; - g_print ("+ do_make_directory, filename: %s\n", filename); + g_debug ("+ do_make_directory, filename: %s\n", filename); g_mutex_lock (op_backend->mutex); @@ -2071,7 +2071,7 @@ do_make_directory (GVfsBackend *backend, g_mutex_unlock (op_backend->mutex); - g_print ("- do_make_directory\n"); + g_debug ("- do_make_directory\n"); } static void diff --git a/daemon/gvfsbackendtrash.c b/daemon/gvfsbackendtrash.c index 11915440..27b14570 100644 --- a/daemon/gvfsbackendtrash.c +++ b/daemon/gvfsbackendtrash.c @@ -363,7 +363,7 @@ trash_backend_delete (GVfsBackend *vfs_backend, { GVfsBackendTrash *backend = G_VFS_BACKEND_TRASH (vfs_backend); GError *error = NULL; - g_print ("before job: %d\n", G_OBJECT(job)->ref_count); + g_debug ("before job: %d\n", G_OBJECT(job)->ref_count); if (filename[1] == '\0') g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, diff --git a/daemon/gvfsdaemon.c b/daemon/gvfsdaemon.c index 57be26d1..57a4edbe 100644 --- a/daemon/gvfsdaemon.c +++ b/daemon/gvfsdaemon.c @@ -364,7 +364,7 @@ void g_vfs_daemon_add_job_source (GVfsDaemon *daemon, GVfsJobSource *job_source) { - g_print ("Added new job source %p (%s)\n", job_source, g_type_name_from_instance ((gpointer)job_source)); + g_debug ("Added new job source %p (%s)\n", job_source, g_type_name_from_instance ((gpointer)job_source)); g_mutex_lock (daemon->lock); @@ -439,7 +439,7 @@ void g_vfs_daemon_queue_job (GVfsDaemon *daemon, GVfsJob *job) { - g_print ("Queued new job %p (%s)\n", job, g_type_name_from_instance ((gpointer)job)); + g_debug ("Queued new job %p (%s)\n", job, g_type_name_from_instance ((gpointer)job)); g_object_ref (job); g_signal_connect (job, "finished", (GCallback)job_finished_callback, daemon); diff --git a/daemon/gvfsjobcloseread.c b/daemon/gvfsjobcloseread.c index d064f45f..217dfedc 100644 --- a/daemon/gvfsjobcloseread.c +++ b/daemon/gvfsjobcloseread.c @@ -92,7 +92,7 @@ send_reply (GVfsJob *job) { GVfsJobCloseRead *op_job = G_VFS_JOB_CLOSE_READ (job); - g_print ("job_close_read send reply\n"); + g_debug ("job_close_read send reply\n"); if (job->failed) g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error); diff --git a/daemon/gvfsjobclosewrite.c b/daemon/gvfsjobclosewrite.c index 6bb15d96..e621c51a 100644 --- a/daemon/gvfsjobclosewrite.c +++ b/daemon/gvfsjobclosewrite.c @@ -100,7 +100,7 @@ send_reply (GVfsJob *job) { GVfsJobCloseWrite *op_job = G_VFS_JOB_CLOSE_WRITE (job); - g_print ("job_close_write send reply\n"); + g_debug ("job_close_write send reply\n"); if (job->failed) g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error); diff --git a/daemon/gvfsjobcopy.c b/daemon/gvfsjobcopy.c index c37701fd..4463aa25 100644 --- a/daemon/gvfsjobcopy.c +++ b/daemon/gvfsjobcopy.c @@ -133,7 +133,7 @@ progress_callback (goffset current_num_bytes, dbus_uint64_t current_dbus, total_dbus; DBusMessage *message; - g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); + g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); if (op_job->callback_obj_path == NULL) return; diff --git a/daemon/gvfsjobdbus.c b/daemon/gvfsjobdbus.c index c74c3439..3a1bf4ea 100644 --- a/daemon/gvfsjobdbus.c +++ b/daemon/gvfsjobdbus.c @@ -156,7 +156,7 @@ send_reply (GVfsJob *job) DBusMessage *reply; GVfsJobDBusClass *class; - g_print ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:""); + g_debug ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:""); class = G_VFS_JOB_DBUS_GET_CLASS (job); diff --git a/daemon/gvfsjobenumerate.c b/daemon/gvfsjobenumerate.c index 6c4e6acc..01678e35 100644 --- a/daemon/gvfsjobenumerate.c +++ b/daemon/gvfsjobenumerate.c @@ -287,7 +287,7 @@ send_reply (GVfsJob *job) DBusMessage *reply; GVfsJobDBusClass *class; - g_print ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:""); + g_debug ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:""); class = G_VFS_JOB_DBUS_GET_CLASS (job); diff --git a/daemon/gvfsjobmount.c b/daemon/gvfsjobmount.c index 6dcd1ce2..d5196a98 100644 --- a/daemon/gvfsjobmount.c +++ b/daemon/gvfsjobmount.c @@ -157,7 +157,7 @@ mount_failed (GVfsJobMount *op_job, GError *error) } } else - g_print ("Mount failed: %s\n", error->message); + g_debug ("Mount failed: %s\n", error->message); backend = g_object_ref (op_job->backend); g_vfs_job_emit_finished (G_VFS_JOB (op_job)); @@ -176,7 +176,7 @@ register_mount_callback (DBusMessage *mount_reply, DBusConnection *conn; DBusMessage *reply; - g_print ("register_mount_callback, mount_reply: %p, error: %p\n", mount_reply, error); + g_debug ("register_mount_callback, mount_reply: %p, error: %p\n", mount_reply, error); if (mount_reply == NULL) mount_failed (op_job, error); @@ -205,7 +205,7 @@ send_reply (GVfsJob *job) { GVfsJobMount *op_job = G_VFS_JOB_MOUNT (job); - g_print ("send_reply, failed: %d\n", job->failed); + g_debug ("send_reply, failed: %d\n", job->failed); if (job->failed) mount_failed (op_job, job->error); diff --git a/daemon/gvfsjobmove.c b/daemon/gvfsjobmove.c index e96a17aa..7baa62eb 100644 --- a/daemon/gvfsjobmove.c +++ b/daemon/gvfsjobmove.c @@ -132,7 +132,7 @@ g_vfs_job_move_progress_callback (goffset current_num_bytes, dbus_uint64_t current_dbus, total_dbus; DBusMessage *message; - g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); + g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); if (op_job->callback_obj_path == NULL) return; diff --git a/daemon/gvfsjobpull.c b/daemon/gvfsjobpull.c index 2eb12e4d..58e67afb 100644 --- a/daemon/gvfsjobpull.c +++ b/daemon/gvfsjobpull.c @@ -119,7 +119,7 @@ g_vfs_job_pull_new (DBusConnection *connection, job->backend = backend; job->flags = flags; job->remove_source = remove_source; - g_print ("Remove Source: %s\n", remove_source ? "true" : "false"); + g_debug ("Remove Source: %s\n", remove_source ? "true" : "false"); if (strcmp (callback_obj_path, "/org/gtk/vfs/void") != 0) job->callback_obj_path = g_strdup (callback_obj_path); @@ -137,7 +137,7 @@ progress_callback (goffset current_num_bytes, dbus_uint64_t current_dbus, total_dbus; DBusMessage *message; - g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); + g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); if (op_job->callback_obj_path == NULL) return; diff --git a/daemon/gvfsjobpush.c b/daemon/gvfsjobpush.c index c24b9d80..0ab1efc5 100644 --- a/daemon/gvfsjobpush.c +++ b/daemon/gvfsjobpush.c @@ -119,7 +119,7 @@ g_vfs_job_push_new (DBusConnection *connection, job->backend = backend; job->flags = flags; job->remove_source = remove_source; - g_print ("Remove Source: %s\n", remove_source ? "true" : "false"); + g_debug ("Remove Source: %s\n", remove_source ? "true" : "false"); if (strcmp (callback_obj_path, "/org/gtk/vfs/void") != 0) job->callback_obj_path = g_strdup (callback_obj_path); @@ -137,7 +137,7 @@ progress_callback (goffset current_num_bytes, dbus_uint64_t current_dbus, total_dbus; DBusMessage *message; - g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); + g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes); if (op_job->callback_obj_path == NULL) return; diff --git a/daemon/gvfsjobread.c b/daemon/gvfsjobread.c index 1d542bd6..0e118674 100644 --- a/daemon/gvfsjobread.c +++ b/daemon/gvfsjobread.c @@ -96,7 +96,7 @@ static void send_reply (GVfsJob *job) { GVfsJobRead *op_job = G_VFS_JOB_READ (job); - g_print ("job_read send reply, %"G_GSIZE_FORMAT" bytes\n", op_job->data_count); + g_debug ("job_read send reply, %"G_GSIZE_FORMAT" bytes\n", op_job->data_count); if (job->failed) g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error); diff --git a/daemon/gvfsjobseekread.c b/daemon/gvfsjobseekread.c index 4813752b..e886a13d 100644 --- a/daemon/gvfsjobseekread.c +++ b/daemon/gvfsjobseekread.c @@ -96,7 +96,7 @@ send_reply (GVfsJob *job) { GVfsJobSeekRead *op_job = G_VFS_JOB_SEEK_READ (job); - g_print ("job_seek_read send reply, pos %d\n", (int)op_job->final_offset); + g_debug ("job_seek_read send reply, pos %d\n", (int)op_job->final_offset); if (job->failed) g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error); diff --git a/daemon/gvfsjobseekwrite.c b/daemon/gvfsjobseekwrite.c index 0ceda867..b2810bc4 100644 --- a/daemon/gvfsjobseekwrite.c +++ b/daemon/gvfsjobseekwrite.c @@ -96,7 +96,7 @@ send_reply (GVfsJob *job) { GVfsJobSeekWrite *op_job = G_VFS_JOB_SEEK_WRITE (job); - g_print ("job_seek_write send reply, pos %d\n", (int)op_job->final_offset); + g_debug ("job_seek_write send reply, pos %d\n", (int)op_job->final_offset); if (job->failed) g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error); diff --git a/daemon/gvfsjobunmount.c b/daemon/gvfsjobunmount.c index 6493856f..1d7d0a6c 100644 --- a/daemon/gvfsjobunmount.c +++ b/daemon/gvfsjobunmount.c @@ -78,7 +78,7 @@ g_vfs_job_unmount_new (DBusConnection *connection, { GVfsJobUnmount *job; - g_print ("g_vfs_job_unmount_new request: %p\n", message); + g_debug ("g_vfs_job_unmount_new request: %p\n", message); job = g_object_new (G_VFS_TYPE_JOB_UNMOUNT, "message", message, @@ -130,7 +130,7 @@ unregister_mount_callback (DBusMessage *unmount_reply, GVfsBackend *backend; GVfsJobUnmount *op_job = G_VFS_JOB_UNMOUNT (user_data); - g_print ("unregister_mount_callback, unmount_reply: %p, error: %p\n", unmount_reply, error); + g_debug ("unregister_mount_callback, unmount_reply: %p, error: %p\n", unmount_reply, error); backend = op_job->backend; (*G_VFS_JOB_CLASS (g_vfs_job_unmount_parent_class)->send_reply) (G_VFS_JOB (op_job)); @@ -145,7 +145,7 @@ send_reply (GVfsJob *job) { GVfsJobUnmount *op_job = G_VFS_JOB_UNMOUNT (job); - g_print ("send_reply, failed: %d\n", job->failed); + g_debug ("send_reply, failed: %d\n", job->failed); if (job->failed) (*G_VFS_JOB_CLASS (g_vfs_job_unmount_parent_class)->send_reply) (G_VFS_JOB (op_job)); diff --git a/daemon/gvfsjobwrite.c b/daemon/gvfsjobwrite.c index 09ca5ad1..ea3854ff 100644 --- a/daemon/gvfsjobwrite.c +++ b/daemon/gvfsjobwrite.c @@ -99,7 +99,7 @@ static void send_reply (GVfsJob *job) { GVfsJobWrite *op_job = G_VFS_JOB_WRITE (job); - g_print ("job_write send reply\n"); + g_debug ("job_write send reply\n"); if (job->failed) g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error); diff --git a/daemon/mount.c b/daemon/mount.c index d4d65818..172728f1 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -794,7 +794,7 @@ maybe_automount (GMountSpec *spec, AutoMountData *data; GMountSource *mount_source; - g_print ("automounting...\n"); + g_debug ("automounting...\n"); mount_source = g_mount_source_new_dummy (); |