Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Production
*Location*: http://docs.mongodb.org/manual/tutorial/rotate-log-files/#Logging-Rotatingthelogfiles
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
*Referrer*: http://dba.stackexchange.com/questions/25658/how-to-keep-mongodb-log-small-via-the-conf-file-or-other-persistent-method
*Screen Resolution*: 1680 x 1050
*repo*: docs
*source*: tutorial/rotate-log-files
Production *Location*: http://docs.mongodb.org/manual/tutorial/rotate-log-files/#Logging-Rotatingthelogfiles *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 *Referrer*: http://dba.stackexchange.com/questions/25658/how-to-keep-mongodb-log-small-via-the-conf-file-or-other-persistent-method *Screen Resolution*: 1680 x 1050 *repo*: docs *source*: tutorial/rotate-log-files
Description
Hello, I think this may be more of an enhancement than an actual problem. I would like a way to automatically roll log files after they hit a certain size. I have search the documentation high and low and do not see where this is possible - other than manually issuing a logRotate command. Maybe a setting in a config file that sets logfile size upon rolling? This would be a great feature to have as our log files are getting excessive in size. I know I could also start the server in 'quiet' mode. Thanks in advance!