1 Reply Latest reply on May 11, 2012 12:33 AM by davsclaus

    Disable stacktrace of Exceptions in Fuse logs

    vmahe

      Hello all,

       

      I'm using apache-servicemix-4.4.1-fuse-01-13.

       

      Each time there is a Java Exception thrown in my routes or in my processors, the full stack trace is added to the logs in the $FUSE_HOME/data/log/servicemix.log file.

       

      Can you tell me how I can disable this ?

      I only want to have a small ERROR message with the name of the Exception and the message.

       

      Thanks

       

      Regards,

       

      Vincent

        • 1. Re: Disable stacktrace of Exceptions in Fuse logs
          davsclaus

          If the exception is from Camel routing, then you can configure Camel error handler to be less noisy.

           

          It has a number of options you can set whether stacktraces should be included or not. And the logging level etc.

           

          If you have the Camel in Action book, then its chapter 5, section 5.3 that covers this.