Hi,

Did you install the decanter-connector-log ?

regards,

François Papon
[email protected]

Le 25/10/2018 à 18:56, mariobuonocore a écrit :
> 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

Reply via email to