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/null
instead of a file:
mongod --fork --logpath /dev/null
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With