目前MongDb的系統(tǒng)日志log非常大,已經(jīng)去到幾G的級(jí)別了.請(qǐng)問我們限制它的大小么?或者M(jìn)ongoDb自動(dòng)清理
擁有18年軟件開發(fā)和IT教學(xué)經(jīng)驗(yàn)。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項(xiàng)目經(jīng)理、高級(jí)軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...
Use a fixed collection to store logs. When inserting new logs, the oldest logs will be deleted (if the preset size has been reached)
You can use -v mode or -quiet mode to reduce the amount of irrelevant debugging logs