Results 1 to 3 of 3

Thread: turn off logging of RemoteInvocationTraceInterceptor

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    20

    Default 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. #2
    Join Date
    Aug 2004
    Posts
    2,715

    Default

    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

  3. #3
    Join Date
    Oct 2006
    Posts
    20

    Default

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

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

    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •