Hi Mario,

just to let you know that the MongoDB appender has been fixed.

It's already included in Decanter 2.2.0-SNAPSHOT and it will be included
in 2.2.0 release (planned for beginning of December).

Regards
JB

On 25/10/2018 16:56, mariobuonocore wrote:
> Hi all,
> after installing Karaf, Decanter and MongoDB appender on Ubuntu 18.04
> virtual machine, I cannot find logs or anything else on db collection in
> MongoDB.
> I can work normally with MongoDB from command line and with Robo3T.
> 
> However, when I start or stop Karaf, or I generate an error or I install
> some new bundle, I cannot see anything saved on MongoDB.
> 
> What am I wrong?
> 
> Those are my mongo features installed on karaf:
> 
> 
> karaf@root()> list -t 0 | grep -i mongo
> 126 │ Active   │  80 │ 2.0.0              │ Apache Karaf :: Decanter ::
> Appender :: MongoDB
> 136 │ Active   │  80 │ 3.8.2              │ mongo-java-driver
> 
> 
> And this is my Karaf etc/org.apache.karaf.decanter.appender.mongodb.cfg :
> 
> 
> ################################
> # Decanter MongoDB Configuration
> ################################
> 
> # MongoDB connection URI
> uri=mongodb://localhost:27017
> 
> # MongoDB database name
> database=decanter
> 
> # MongoDB collection name
> collection=decanter
> 
> # Marshaller to use (json is recommended)
> marshaller.target=(dataFormat=json)
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to