vfs_shadow_copy2: change log level from 0 to 1 and log share path
authorRalph Boehme <slow@samba.org>
Thu, 25 Jun 2015 16:43:50 +0000 (18:43 +0200)
committerRalph Böhme <slow@samba.org>
Thu, 16 Jul 2015 15:19:19 +0000 (17:19 +0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_shadow_copy2.c

index e522686e6b7f23df8f3a10560ad60c96f908a61d..4d2ec54dcaa1c35af25242bb57df357ce89f14a9 100644 (file)
@@ -1875,8 +1875,9 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle,
                config->mount_point = shadow_copy2_find_mount_point(config,
                                                                    handle);
                if (config->mount_point == NULL) {
-                       DEBUG(0, (__location__ ": shadow_copy2_find_mount_point"
-                                 " failed: %s\n", strerror(errno)));
+                       DBG_WARNING("shadow_copy2_find_mount_point "
+                                   "of the share root '%s' failed: %s\n",
+                                   handle->conn->connectpath, strerror(errno));
                        return -1;
                }
        }