-
Apr 21st, 2008, 07:24 PM
#1
debug or error?
Class: org.springframework.ws.server.MessageDispatcher
Method: processEndpointException
This method log exceptions throw by endpoint's. The log level is "debug". I think is better if the level is "error" because runtime exceptions doesn't appear in log files if the log level of the server is INFO (very common)
Sorry for my bad english.
Last edited by michelz; Apr 21st, 2008 at 07:27 PM.
-
Apr 22nd, 2008, 06:51 PM
#2
I suppose the log statement you are referring to is meant to give debug information about the functioning of the framework itself rather than providing error log for the invoked web services.
I think that user-specific error logging should be implemented in an EndpointExceptionResolver as the needs may vary from one user to another.
What do you think?
-
Apr 23rd, 2008, 05:50 PM
#3
If a new user create a new web service for first time probably he will not configure an EndpointExceptionResolver. This could be a problem, because exceptions could be lost. In production this will be worst.
Web Frameworks log rumtime exceptions not catched by user, I think spring-ws should do it, by default.
(xfire and axis do it)
Sorry for mt bad english.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules