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

Add a log command to log from shell to the log

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      When working with Karaf, you often have to look in the logs etc. And sometimes you need to configure the logs to be very verbose with TRACE level logging.

      It would be nice if I from the shell could do

      log:log "I am going to stop bundle 88 now, and you can find this text in the log. Yeah coffee is great."
      

      eg to log at INFO level a text. This makes it easier to grep in the log after this text. To find a spot you wanna look at. If the log is very verbose and has many many lines. It takes longer to find the spot.

        Attachments

        1. karaf-2146.patch
          3 kB
          Christophe Vanfleteren
        2. KARAF-2146.patch.txt
          5 kB
          filippo balicchia

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: