MongoDB logs can be found in the MongoDB log files at /var/log/mongodb/mongodb. log. If you can’t find the log files from this location, you can check the mongodb.
Where are MongoDB logs Ubuntu?
log . You can specify the log file location when you are starting the mongod process but if you have installed on Ubuntu from a package then you log file will normally be located in /var/log/mongodb/mongod. log .
How do I view MongoDB Atlas logs?
- mongodb.gz.
- mongos.gz.
- mongodb-audit-log.gz.
- mongos-audit-log.gz. Note. Audit logs are only available if you have enabled Database Auditing for an Atlas project.