by otterley · 14y ago · 0 comments
I wouldn't recommend logging to the same database instance that's used to store customer data for both security and performance reasons, but that's no reason not to use a database for logging.
I agree, what it should say is: never log to the main database, create a DB especially for it (preferably in an entire different file system/disk/machine)
And don't forget to set it to 'append only'
Indeed; MongoDB is quite often used for storing (structured) log data.