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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.3.3, 2.4.0, 3.0.0
    • cellar
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: