Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2437

Logs still have been printed into console after log:tail and Ctrl + C

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.3, 2.4.0, 3.0.0
    • Component/s: cellar
    • Labels:
      None
    • Environment:

      Win7 64bit Java 7

      Description

      With the latest 2.3.3-snapshot version, execute log:tail and then Ctrl + C, but logs will still be printed into the console continuously.

      Seems a new PrintEventThread class introduced recently, but there is no any exit statement in the run() method, add code below into the beginning of run() should work:

      if (!needEndLog) {
          return;
      }
      

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              xldai Xilai Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: