commented out mildly annoying log message for static file requests
This commit is contained in:
parent
69cb0cb711
commit
e966459776
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ public class FileServlet extends HttpServlet
|
||||||
|
|
||||||
protected void serveFile( HttpServletRequest req, HttpServletResponse res, boolean headOnly, String path, String filename, File file ) throws IOException
|
protected void serveFile( HttpServletRequest req, HttpServletResponse res, boolean headOnly, String path, String filename, File file ) throws IOException
|
||||||
{
|
{
|
||||||
log( "getting " + path );
|
// log( "getting " + path );
|
||||||
if ( ! file.canRead() )
|
if ( ! file.canRead() )
|
||||||
{
|
{
|
||||||
res.sendError( HttpServletResponse.SC_FORBIDDEN );
|
res.sendError( HttpServletResponse.SC_FORBIDDEN );
|
||||||
|
|
Loading…
Add table
Reference in a new issue