Results 1 to 3 of 3

Thread: debug or error?

  1. #1

    Default 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.

  2. #2

    Default

    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?
    Tareq Abedrabbo

    My Twitter
    My Blog

  3. #3

    Default

    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
  •