diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index f67a7dc..fbd7da4 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -2293,6 +2293,7 @@ proxy_settings_changed (EProxy *proxy, gpointer user_data)
 	SoupURI *proxy_uri = NULL;
 	ECalBackendCalDAVPrivate *priv = (ECalBackendCalDAVPrivate *) user_data;
 
+	printf ("%s: \n", __FUNCTION__);
 	if (!priv || !priv->uri || !priv->session)
 		return;
 
@@ -2301,6 +2302,7 @@ proxy_settings_changed (EProxy *proxy, gpointer user_data)
 		proxy_uri = e_proxy_peek_uri_for (proxy, priv->uri);
 	}
 
+	printf ("%s: %p (%s)\n  for '%s'\n", __FUNCTION__, proxy_uri, proxy_uri ? soup_uri_to_string (proxy_uri, FALSE) : "", priv->uri);
 	g_object_set (priv->session, SOUP_SESSION_PROXY_URI, proxy_uri, NULL);
 }
 
diff --git a/libedataserver/e-proxy.c b/libedataserver/e-proxy.c
index 15b4575..35d4107 100644
--- a/libedataserver/e-proxy.c
+++ b/libedataserver/e-proxy.c
@@ -26,6 +26,7 @@
 #endif
 
 #include <string.h>
+#include <stdio.h>
 #include <stdlib.h>
 
 #ifdef _WIN32
@@ -645,6 +646,8 @@ ep_set_proxy (GConfClient *client,
 			uri_https = g_strdup_printf ("https://%s@%s", proxy_user, tmps + strlen ("https://"));
 		}
 
+		printf ("%s:\n    %s\n   %s\n", __FUNCTION__, uri_http ? uri_http : "[null]", uri_https ? uri_https : "[null]");
+
 		g_free (proxy_user);
 		g_free (proxy_pw);
 		g_free (tmp);
