mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
WebDAV: lowered misleading "no root node for request" logging to DEBUG level.
For cloud, /alfresco/webdav/desktop.ini should return a 404 (rather than a 500) and not log this message: this should be corrected next. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@58789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -126,8 +126,11 @@ public class WebDAVServlet extends HttpServlet
|
|||||||
}
|
}
|
||||||
else if (method.getRootNodeRef() == null)
|
else if (method.getRootNodeRef() == null)
|
||||||
{
|
{
|
||||||
if ( logger.isErrorEnabled())
|
if (logger.isDebugEnabled())
|
||||||
logger.error("No root node for request");
|
{
|
||||||
|
logger.debug("No root node for request [" +
|
||||||
|
request.getMethod() + " " + request.getRequestURI() + "]");
|
||||||
|
}
|
||||||
|
|
||||||
// Return an error status
|
// Return an error status
|
||||||
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
|
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
|
||||||
|
Reference in New Issue
Block a user