diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 4fe6fdc..382dc30 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -1035,7 +1035,11 @@ static int s3fs_getattr(const char* _path, struct stat* stbuf) WTF8_ENCODE(path) int result; +#if defined(__APPLE__) + FUSE_CTX_DBG("[path=%s]", path); +#else FUSE_CTX_INFO("[path=%s]", path); +#endif // check parent directory attribute. if(0 != (result = check_parent_object_access(path, X_OK))){ @@ -3956,7 +3960,11 @@ static int s3fs_getxattr(const char* path, const char* name, char* value, size_t static int s3fs_getxattr(const char* path, const char* name, char* value, size_t size) #endif { +#if defined(__APPLE__) + FUSE_CTX_DBG("[path=%s][name=%s][value=%p][size=%zu]", path, name, value, size); +#else FUSE_CTX_INFO("[path=%s][name=%s][value=%p][size=%zu]", path, name, value, size); +#endif if(!path || !name){ return -EIO;