Axis
  1. Axis
  2. AXIS-2455

LogHandler writeToConsole broken

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: Basic Architecture
    • Labels:
      None
    • Environment:
      All

      Description

      LogHandler fails to print SOAP messages (at least short messages) in the console ; nothing is outputted in the console.

      Note that SOAP Messages are properly outputted by LogHandler to log files.

      This seems due to the fact that the content is written in a PrintWriter that is not flushed before it is throw away.

      Environment :

      • Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      • Axis 1.3
        client-config.wsdd with <handler name="log" type="java:org.apache.axis.handlers.LogHandler"><parameter name="LogHandler.writeToConsole" value="true" /></handler>
      1. client-config.wsdd
        0.8 kB
        Cyrille Le Clerc
      2. AXIS-2455_flushSystemOutPrintWriterAfterWriteMessage.diff
        0.7 kB
        Cyrille Le Clerc

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Cyrille Le Clerc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development