Permalink
Browse files

More logging around PROPFIND.

  • Loading branch information...
1 parent f8b530f commit e824278c222f56d3dccaca17881f3e733c7d11a0 @davidstrauss davidstrauss committed Dec 18, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/fusedav.c
View
@@ -197,6 +197,8 @@ static int simple_propfind_with_redirect(
int i, ret;
+ log_print(LOG_DEBUG, "Performing PROPFIND of depth %d on path %s.", depth, path);
+
for (i = 0; i < MAX_REDIRECTS; i++) {
const ne_uri *u;
@@ -215,6 +217,8 @@ static int simple_propfind_with_redirect(
path = u->path;
}
+ log_print(LOG_DEBUG, "Done with PROPFIND.");
+
return ret;
}
@@ -518,6 +522,7 @@ static int get_stat(const char *path, struct stat *stbuf) {
memset(stbuf, 0, sizeof(struct stat));
return -ENOENT;
}
+ log_print(LOG_DEBUG, "Zero-depth PROPFIND succeeded: %s", base_directory);
return 0;
}

0 comments on commit e824278

Please sign in to comment.