Re: [Karaf 4.1.2] - error with command history + grep

2017-10-12 Thread Jean-Baptiste Onofré
I think we already have a Jira about it. Regards JB On Oct 12, 2017, 22:14, at 22:14, Guillaume Nodet wrote: >I've seen it too fwiw (not sure if it was on master or not), but I >haven't >investigated. > >2017-10-12 20:45 GMT+02:00 Jean-Baptiste Onofré : > >> Hi >> >> It sounds like a bug. Let me

Re: [Karaf 4.1.2] - error with command history + grep

2017-10-12 Thread Guillaume Nodet
I've seen it too fwiw (not sure if it was on master or not), but I haven't investigated. 2017-10-12 20:45 GMT+02:00 Jean-Baptiste Onofré : > Hi > > It sounds like a bug. Let me try to reproduce. > > Regards > JB > On Oct 12, 2017, at 19:43, francois papon > wrote: >> >> Hi, >> >> When I use the

Re: [Karaf 4.1.2] - error with command history + grep

2017-10-12 Thread Jean-Baptiste Onofré
Hi It sounds like a bug. Let me try to reproduce. Regards JB On Oct 12, 2017, 19:43, at 19:43, francois papon wrote: >Hi, > >When I use the commande history with grep, I've got this error : > >karaf@root()> history | grep cave >grep: java.lang.ArrayIndexOutOfBoundsException > >I have some entr

[Karaf 4.1.2] - error with command history + grep

2017-10-12 Thread francois papon
Hi, When I use the commande history with grep, I've got this error : karaf@root()> history | grep cave grep: java.lang.ArrayIndexOutOfBoundsException I have some entry of "cave" word in my history. in the log : 2017-10-08 18:28:45,969 | DEBUG | nsole user karaf | LoggingCommandSessionListener 

Re: Using java.util.logging

2017-10-12 Thread tom
> I don't believe we explicitly list that anywhere as a requirement Correction. We DID include this as a bundle in one of our features: mvn:org.ops4j.pax.logging/pax-logging-service/1.10.1 but it doesn't seem to be required, removing it doesn't introduce any resolution issues. Removing it ma

Re: Using java.util.logging

2017-10-12 Thread tom
> can you check if JUL packages really comes from Pax Logging ? Err, how can they? Perhaps I'm misunderstanding. Surely the java.util.logging packages are provided by the JRE? I DO have one log message that DOES come out. Very odd. If I step through the code in the debugger, I appear to have tw

Re: Using java.util.logging

2017-10-12 Thread Jean-Baptiste Onofré
Hi Tom, can you check if JUL packages really comes from Pax Logging ? That's the key part of logging in Karaf: all log framework packages should come as import from pax logging. You can check using bundle:headers command for instance. Regards JB On 10/12/2017 03:41 PM, t...@quarendon.net wro

Re: Using java.util.logging

2017-10-12 Thread Vincent Zurczak
Hi, Le 12/10/2017 à 15:41, t...@quarendon.net a écrit : Yet when I try, I can't. OK, so that's frustrating. If I try a simple "hello world" bundle that just logs a message, run in a clean karaf, it DOES come out in the karaf.log file. Run it in our application though and it doesn't. So some b

Re: Using java.util.logging

2017-10-12 Thread tom
> Yet when I try, I can't. OK, so that's frustrating. If I try a simple "hello world" bundle that just logs a message, run in a clean karaf, it DOES come out in the karaf.log file. Run it in our application though and it doesn't. So some bundle is interfering with the logging configuration in som

Using java.util.logging

2017-10-12 Thread tom
Documentation indicates I can do this. Pax logging indicates I can do this. Yet when I try, I can't. I have some code that uses java.util.logging. If I log at level SEVERE, it comes out on the console, and only the console, and doesn't come out in the karaf.log file. Anything less than that and