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

Log display format not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 4.4.2
    • None
    • karaf
    • None

    Description

      karaf@root()> log:display -p "%d - %c - %m%n"
      Error executing command: bad expression: %d - %c - %m%n
      
      karaf@root()> log:exception-display
      org.apache.felix.gogo.runtime.SyntaxError: bad expression: %d - %c - %m%n
              at org.apache.felix.gogo.runtime.Expander.expandExp(Expander.java:922) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.doExpand(Expander.java:687) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:120) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:63) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.doExpand(Expander.java:740) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:120) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:73) ~[?:?]
              at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:58) ~[?:?]
              at org.apache.felix.gogo.runtime.Closure.eval(Closure.java:399) ~[?:?]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:463) ~[?:?]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
              at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
              at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
              at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_342]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_342]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_342]
              at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_342]
      

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            rathinamtrainers Rajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: