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

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12554770 ] jira [ 12577218 ]
        Mark Thomas made changes -
        Workflow jira [ 12353281 ] Default workflow, editable Closed status [ 12554770 ]
        Jarek Gawor made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Cyrille Le Clerc made changes -
        Cyrille Le Clerc made changes -
        Field Original Value New Value
        Attachment client-config.wsdd [ 12324892 ]
        Cyrille Le Clerc created 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