Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-1036

Fix useless verbosity in log

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 1.11.18
    • 1.11.16
    • backend
    • Security Level: Public (Visbile by non-authn users.)
    • None

      In case of not found token during AbortFilesCommand or AbortRequestCommand execution, log entry looks like:

      12:07:11.029 - INFO [xmlrpc-104635] - Invalid request error: {}
      java.lang.IllegalArgumentException: No request found matching token 4dc4036e-cba4-4ff4-a0c3-21fc274a8421
              at it.grid.storm.catalogs.surl.SURLStatusManagerImpl.lookupRequest(SURLStatusManagerImpl.java:205)
              at it.grid.storm.catalogs.surl.SURLStatusManagerImpl.lookupAndCheckRequest(SURLStatusManagerImpl.java:194)
              at it.grid.storm.catalogs.surl.SURLStatusManagerImpl.abortRequest(SURLStatusManagerImpl.java:43)
              at it.grid.storm.catalogs.surl.DelegatingSURLStatusManager.abortRequest(DelegatingSURLStatusManager.java:39)
              at it.grid.storm.catalogs.surl.InMemorySURLStatusManager.abortRequest(InMemorySURLStatusManager.java:80)
              at it.grid.storm.synchcall.command.datatransfer.AbortFilesCommand.execute(AbortFilesCommand.java:144)
              at it.grid.storm.synchcall.SimpleSynchcallDispatcher.processRequest(SimpleSynchcallDispatcher.java:61)
              at it.grid.storm.xmlrpc.XMLRPCExecutor.execute(XMLRPCExecutor.java:81)
              at it.grid.storm.xmlrpc.XMLRPCMethods.abortFiles(XMLRPCMethods.java:63)
              at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:483)
              at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:111)
              at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
              at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
              at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
              at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
              at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
              at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
              at it.grid.storm.xmlrpc.XmlRpcTokenFilter.doFilter(XmlRpcTokenFilter.java:97)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
              at com.codahale.metrics.jetty8.InstrumentedHandler.handle(InstrumentedHandler.java:192)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
              at org.eclipse.jetty.server.Server.handle(Server.java:368)
              at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
              at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:943)
              at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1004)
              at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
              at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
              at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
              at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
              at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
              at java.lang.Thread.run(Thread.java:745)
      

            vianello Enrico Vianello
            vianello Enrico Vianello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: