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

Logs flooding karaf shell - Docker image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2.11
    • None
    • karaf

    Description

      Bundle logs keep flooding the shell after stopping log:tail with ctrl+c.

      Logging in and out from shell fixes the issue momentarily but it will usually reappear after bundle gets updated through bundle:update, bundle:watch or started with bundle:start and bundle:restart or if log:tail is used. This seems to only happen with the official docker image so probably something related to displaying docker container logs.

      Attachement has docker-compose, log-spammer bundle project and readme.md with instructions how to reproduce.

      log-spammer bundle is a  simple camel project with timer that logs every 2s using slf4j.

      Using karaf with docker-compose to quickly startup local karaf server for local development. I can make my own custom docker image as a workaround without any docker logging using the apache-karaf-4.2.11.zip file downloaded from the site.

       

      Attachments

        1. karaf-shell-logging-bug.zip
          136 kB
          Pasi Österman

        Activity

          People

            Unassigned Unassigned
            pasi.osterman Pasi Österman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: