Is there a remote (ssh) way to simulate the:
mongod --fork --logpath /var/log/mongodb.log
without the logging part? If I ommit the logpath mongod will complain.
I’m having it running on a RaspberryPi and I’d like to turn the logging off to maximize the SD card lifespan.
Redirect logging to
/dev/nullinstead of a file: