[ https://issues.apache.org/jira/browse/KARAF-7604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajan updated KARAF-7604: ------------------------- Description: {code:java} 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] {code} was: {code:java} karaf@root()> log:display -p "%d - %c - %m%n" Error executing command: bad expression: %d - %c - %m%n{code} > Log display format not working > ------------------------------ > > Key: KARAF-7604 > URL: https://issues.apache.org/jira/browse/KARAF-7604 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.4.2 > Environment: {code:java} > karaf@root()> log:display -p "%d - %c - %m%n" > Error executing command: bad expression: %d - %c - %m%n{code} > Reporter: Rajan > Priority: Major > > {code:java} > 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] > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)