Skip to content

Commit

Permalink
More logging around PROPFIND.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstrauss committed Dec 18, 2012
1 parent f8b530f commit e824278
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fusedav.c
Expand Up @@ -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;

Expand All @@ -215,6 +217,8 @@ static int simple_propfind_with_redirect(
path = u->path;
}

log_print(LOG_DEBUG, "Done with PROPFIND.");

return ret;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit e824278

Please sign in to comment.