mondodb config file in mac
1. Intel Processor
2. Apple M1 Processor
configuration file
1. /usr/local/etc/mongod.conf
2. /opt/homebrew/etc/mongod.conf
log directory
1. /usr/local/var/log/mongodb
2. /opt/homebrew/var/log/mongodb
data directory
1. /usr/local/var/mongodb
2. /opt/homebrew/var/mongodb