In NodeJS, I am logging every every API request and would get the log through another API request . But I do not want to use MONGODB or any such database. I am currently writing to file each API request in JSON format. But now API requests are much quicker and sometimes file is busy before another request comes.
What would be the best solution in this case?
Actually I am developing a portable and distributable solution. So database will hinder the motive.