Announcement Announcement Module
Collapse
No announcement yet.
turn off logging of RemoteInvocationTraceInterceptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • turn off logging of RemoteInvocationTraceInterceptor

    Hello,

    I'm using remoting in a webapplication. Now if an Exception is thrown the RemoteInvocationTraceInterceptor makes a logging entry [INFO] with the stacktrace.
    What I have to do to turn off this output? I'm loggin the Exceptions myself in my modules. I've tried this

    Code:
    log4j.logger.org.springframework.remoting=ERROR, stdout, common
    in my log4j.properties. But the exception is still logget.

    Thanks for your help,

    mike

  • #2
    Perhaps a logger higher up in the hierarchy does perform the logging (if you have, for example, "log4j.logger.org.springframework=INFO, stdout, common").

    If that could be the case it might help to check out Log4J's additivity flag to prevent this.

    Regards,
    Andreas

    Comment


    • #3
      I've found another solution. I set the Property in the ServiceExporter to false:

      Code:
      <property name="registerTraceInterceptor" value="false" />
      Regards,

      Mike

      Comment

      Working...
      X