For logging, should we use file (log4j) or a database (SQL Lite / MongoDB)?
Anonymous
Hi
At work, we want to build logging micro-service for storing events for our applications.
We can have at max 100 users at the same time. Our hotline always needs to see log when our customers have a problem.
At the moment, we got file storage with log4j in our java applications.
What did you think about storing data in the database too? It can be easier to query if we store it in a database.
Which database should we use? (I thought to use SQL lite for its "lite" aspect or MongoDB because there will be insert/read queries only)
Thank's for your help