more informative WebDAV logging

This commit is contained in:
Ralf Becker 2011-08-08 07:18:07 +00:00
parent db990deffd
commit c0da340b64

View File

@ -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));