简体   繁体   中英

Package log4r-mongoDB integration

I explored the log4r package and found that we have console and file appenders. I am looking for pushing the logs to a mongoDB database. I am unable to find any way in pushing the logs to mongoDB, do we have any appender for the same.

TIA

You can try the mongoimport tool

If you do not specify a file (option --file= ), mongoimport reads data from standard input (eg "stdin").

Or write logs into a temporary file and use mongoimport to import it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM