Can we use the configuration file for limiting the log file size ? (i.e /etc/mongod.conf)
in Doc - Logging Parameters - maxLogSizeKB
https://docs.mongodb.com/manual/reference/parameters/
Example, config file mongodb.conf
setParameter:
maxLogSizeKB: 20
But number of files can be any?
Or you can use parametr - quiet
setParameter:
quiet: 1
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