Announcement Announcement Module
Collapse
No announcement yet.
debug or error? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 08:27 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?

    Comment


    • #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.

      Comment

      Working...
      X