diff --git a/webdav.php b/webdav.php index 4d091fe99b..7c6be75c0d 100644 --- a/webdav.php +++ b/webdav.php @@ -94,4 +94,4 @@ if (strstr($user_agent, 'microsoft-webdav') !== false || $webdav_server->cnrnd = true; } $webdav_server->ServeRequest(); -//error_log(sprintf("WebDAV %s request took %5.3f s (header include took %5.3f s)",$_SERVER['REQUEST_METHOD'],microtime(true)-$starttime,$headertime-$starttime)); +//error_log(sprintf('WebDAV %s request: status "%s", took %5.3f s'.($headertime?' (header include took %5.3f s)':''),$_SERVER['REQUEST_METHOD'].' '.$_SERVER['PATH_INFO'],$webdav_server->_http_status,microtime(true)-$starttime,$headertime-$starttime));