--- gsettingsbackend.c	2017-11-06 14:11:37.561816000 +0100
+++ gsettingsbackend_new.c	2017-11-06 14:08:42.736514000 +0100
@@ -30,6 +30,8 @@
 #include <glib.h>
 #include <glibintl.h>
 
+#include <syslog.h>
+
 
 typedef struct _GSettingsBackendClosure GSettingsBackendClosure;
 typedef struct _GSettingsBackendWatch   GSettingsBackendWatch;
@@ -787,6 +789,9 @@
 {
   gboolean success;
 
+syslog(LOG_ERR, "g_settings_backend_write1");
+//syslog(LOG_ERR, "g_settings_backend_write1, key: %s, value: %s", key, g_variant_print(value, TRUE));
+
   g_variant_ref_sink (value);
   success = G_SETTINGS_BACKEND_GET_CLASS (backend)
     ->write (backend, key, value, origin_tag);
@@ -823,6 +828,7 @@
                                GTree            *tree,
                                gpointer          origin_tag)
 {
+syslog(LOG_ERR, "g_settings_backend_write2");
   return G_SETTINGS_BACKEND_GET_CLASS (backend)
     ->write_tree (backend, tree, origin_tag);
 }
