Results 1 to 3 of 3

Thread: Logging Soap Messages

  1. #1
    Join Date
    Apr 2008
    Posts
    21

    Default Logging Soap Messages

    Hi Guys,
    We are using xpath endpoint mapping and a soap logger that logs the incoming and outgoing soap messages to a file specified in log4j. What we want to do is log these messages to different files based on the enpoint that is call. Currently I only see that the logger property is for all enpoints. Any way to have the soap messages log to different files based on the enpoint?

    Thanks

  2. #2
    Join Date
    Nov 2008
    Location
    Tunisia
    Posts
    67

    Default

    hi,
    you have to use a logger in your endpoint something like

    Logger logger = Logger.getLog....
    and just declare it in you log4j.properties or log4j.xml

    Code:
    <logger name="package of your endpoint">
    		<level value="debug"/>
    		<appender-ref ref="file" />
    	</logger>

  3. #3
    Join Date
    Apr 2008
    Posts
    21

    Default Thanks

    Thank you for your response. That worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •