Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-07-23 Thread Noobtube Account
> I'm fixing and cutting a new release. A Karaf release will happen very > soon. > > Regards > JB > > On 08/06/2019 16:17, Noobtube Account wrote: > > I'm trying to get JSON format logging enabled in Karaf. Trying to do > > something similar to what's described > &g

Re: New blog post about Karaf with Kubernetes

2019-06-25 Thread Noobtube Account
Thanks, this is something we’ve been meaning to look at. On Wed, 26 Jun 2019 at 5:46 am, Jean-Baptiste Onofré wrote: > Hi guys, > > Just to let you know I just finished a new blog post about Karaf running > with Kubernetes (following the previous blog post about Karaf with Docker): > >

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-23 Thread Noobtube Account
Looks like what I’m looking for can be done using collector not appender. org.apache.karaf.decanter.collector.log.cfg: fields.remove.renderedMessage=true Cheers! On Mon, 24 Jun 2019 at 11:54 am, Noobtube Account wrote: > Thanks JB - I think the EventFilter and the properties al

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-23 Thread Noobtube Account
and how it > works. > > In the mean time, you can take a look on the test illustrating the > events filtering: > > > https://github.com/apache/karaf-decanter/blob/master/appender/utils/src/test/java/org/apache/karaf/decanter/appender/utils/EventFilterTest.java > > Regards &

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-21 Thread Noobtube Account
Hi JB, Could you show me where I could add the filter properties as you mentioned or if it’s not implemented yet, some guidance on accessing the appender or Marshaller properties file from inside the default decanter json appender? Thanks On Wed, 12 Jun 2019 at 11:53 am, Noobtube Account

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-11 Thread Noobtube Account
ou want a full control, you can also create your own Marshaller > service. But I think that just the filtering on the appender should be > OK for you. > Let me know if you need help about that. > > Regards > JB > > On 08/06/2019 18:52, Noobtube Account wrote: > >

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Noobtube Account
e this directly in etc/org.ops4j.pax.logging.cfg. > > Regards > JB > > On 08/06/2019 18:07, Noobtube Account wrote: > > Oh, scratch that. Uncommenting the filename in > > etc/org.apache.karaf.decanter.appender.file.cfg seemed to have made it > > work. It probabl

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Noobtube Account
through any bundle? On Sun, 9 Jun 2019 at 01:55, Noobtube Account wrote: > Thanks JB. I'm trying the decanter as you mentioned. > > I've done: > feature:repo-add decanter > feature:install decanter-collector-log > feature:install decanter-appender-file >

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Noobtube Account
logback. > > > > Else a simple workaround is to create a fragment with > > pax-logging-logback as host and embedding (private-package) the classes > > you need. > > > > I did that for json layout with pax-logging-log4j2. > > > > Regards > > JB >

Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Noobtube Account
I'm trying to get JSON format logging enabled in Karaf. Trying to do something similar to what's described in https://ops4j1.jira.com/browse/PAXLOGGING-168 On a fresh copy of Karaf 4.2.5 I've added to /etc/startup.properties: mvn\:com.fasterxml.jackson.core/jackson-core/2.9.5 = 8