Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 春季RMI。不要记录特定的异常_Java_Spring_Error Handling_Rmi_Error Logging - Fatal编程技术网

Java 春季RMI。不要记录特定的异常

Java 春季RMI。不要记录特定的异常,java,spring,error-handling,rmi,error-logging,Java,Spring,Error Handling,Rmi,Error Logging,我有一个分为两个模块的应用程序:前端和后端。两者都使用RMI连接 我的问题是有些异常是从后端抛出的,不应该记录 我在日志中得到这个条目 16:46:01,208 WARN [RemoteInvocationTraceInterceptor] Processing of RmiServiceExporter remote call resulted in fatal exception: com.garson.lightball.wizard.IWizardService.process com

我有一个分为两个模块的应用程序:前端和后端。两者都使用RMI连接

我的问题是有些异常是从后端抛出的,不应该记录

我在日志中得到这个条目

16:46:01,208 WARN [RemoteInvocationTraceInterceptor] Processing of RmiServiceExporter remote call resulted in fatal exception: com.garson.lightball.wizard.IWizardService.process com.garson.lightball.wizard.WizardRedirectionException at com.garson.lightball.views.menu.menus.scope.MenusScopeWizardService._process(MenusScopeWizardService.java:59) at com.garson.lightball.wizard.WizardService.process(WizardService.java:75) at com.garson.lightball.wizard.commons.AbstractBusinessWizardService.step_business(AbstractBusinessWizardService.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 16:46:01208警告[RemoteInvocationTraceInterceptor]处理RmiServiceExporter远程调用导致致命异常:com.garson.lightball.wizard.IWizardService.process com.garson.lightball.wizard.WizardRedirectionException 在com.garson.lightball.views.menu.menus.scope.MenusScopeWizardService.\u进程(MenusScopeWizardService.java:59) 位于com.garson.lightball.wizard.WizardService.process(WizardService.java:75) 位于com.garson.lightball.wizard.commons.AbstractBusinessWizardService.step_business(AbstractBusinessWizardService.java:110) 在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处 位于sun.reflect.NativeMethodAccessorImpl.invoke(未知源) 在sun.reflect.DelegatingMethodAccessorImpl.invoke处(未知源) 位于java.lang.reflect.Method.invoke(未知源) 我想避免任何关于com.garson.lightball.wizard.WizardRedirectionException的日志记录

有什么建议吗

谢谢!
Adrian

将日志框架配置为忽略此包/类如果我不想在日志中看到更多其他异常,该怎么办?应该一个接一个地添加它们吗?