[
https://issues.jboss.org/browse/JBWS-3839?page=com.atlassian.jira.plugin....
]
Jim Ma updated JBWS-3839:
-------------------------
Comment: was deleted
(was: Hi Thomas, To fix this issue I think we can introduce another annotation to mark
some exception doesn't need to be logged, and this kind of exception is expected to
happen. For example when it sees the exception with Annotation @NonLoggingException , it
will skip to log this kind of error.
@NonLonggingException
public ExampleException extends Exception {
}
Will this work for your case ?)
excessive ERROR logging on webservices invocation if SoapFault
--------------------------------------------------------------
Key: JBWS-3839
URL:
https://issues.jboss.org/browse/JBWS-3839
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf, jbossws-integration
Reporter: Thomas Frühbeck
Assignee: Jim Ma
Priority: Minor
Fix For: jbossws-cxf-5.0
AbstractInvocationHandler logs ERROR even if invocation fails with SOAPFault, which is
IMHO wrong.
It is to be handled like @ApplicationException, the service implementation too care to
raise a SOAPFault.
catch (Throwable t) {
WSLogger.ROOT_LOGGER.methodInvocationFailed(t, t.getLocalizedMessage());
handleInvocationException(t);
The current implementation leads to excessive false ERROR logs, which is unpleasant in
production environments.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)